Graham Sider
e2435d9e93
kfdtest: Add flat compatability macros for gfx target 9.4.x
...
For GC 9.4.0, modifications were made to various shaders since certain
flat_ instructions no longer support glc/slc modifiers (replaced with
nt/sc1/sc0). Instead of repeating conditionals inside various shader
bodies, we can make use of LLVM AMDGCN macros.
This patch modularizes the shader macros into seperated defines. Prior
to the core raw-string literal, each shader now starts with the
SHADER_START literal (".text\n") plus any number of SHADER_MACRO_*
literals. This allows us to seperate the macro definitions logically and
use the pre-processor to only include the required macro groups on a
per-shader basis.
Signed-off-by: Graham Sider <Graham.Sider@amd.com >
Change-Id: I19eb3fd14252a0601bb7509249051b68e7fdb02a
2023-04-14 12:05:08 -04:00
..
2018-08-23 06:20:17 -04:00
2018-08-23 06:20:17 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2019-11-01 18:30:52 -04:00
2019-11-01 18:30:52 -04:00
2023-03-27 17:07:59 -04:00
2019-07-19 13:26:49 -04:00
2023-04-14 10:03:38 -04:00
2019-07-19 13:26:49 -04:00
2018-08-23 06:20:17 -04:00
2018-09-18 17:41:14 +08:00
2021-02-23 12:20:29 -05:00
2019-11-01 18:31:28 -04:00
2023-04-14 10:03:38 -04:00
2022-04-26 13:14:33 -04:00
2023-03-27 17:08:03 -04:00
2023-03-27 17:08:03 -04:00
2022-11-09 09:37:06 -05:00
2022-08-22 19:55:04 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2022-04-21 16:26:36 -04:00
2018-08-23 06:20:17 -04:00
2023-04-14 12:05:08 -04:00
2022-04-26 13:14:33 -04:00
2023-03-22 13:34:02 -05:00
2022-07-19 21:21:59 -04:00
2022-04-26 13:14:33 -04:00
2018-08-14 08:17:57 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2022-07-21 16:08:19 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2023-04-14 10:03:38 -04:00
2022-04-26 13:14:33 -04:00
2019-07-10 17:05:57 -04:00
2019-07-10 17:05:57 -04:00
2020-01-20 18:01:21 -05:00
2018-08-23 06:20:17 -04:00
2018-08-23 06:20:18 -04:00
2018-07-31 00:00:34 -04:00
2022-01-11 11:01:11 -05:00
2021-02-23 12:20:29 -05:00
2019-09-06 11:12:17 -04:00
2023-03-27 17:07:59 -04:00
2022-04-26 13:14:33 -04:00
2020-11-02 06:03:59 -05:00
2019-02-15 15:03:32 -05:00
2023-04-14 12:05:08 -04:00
2023-04-14 12:05:08 -04:00
2022-09-21 15:38:11 -04:00
2022-04-26 13:14:33 -04:00
2023-04-13 15:25:09 -04:00
2022-11-02 15:40:03 -04:00
2023-04-13 15:25:09 -04:00
2023-03-27 17:08:03 -04:00
2020-01-23 14:54:23 -05:00
2018-09-19 12:03:05 +08:00
2023-01-26 15:08:12 -05:00
2018-08-23 06:20:17 -04:00
2022-11-02 15:40:03 -04:00
2022-11-02 15:40:03 -04:00
2019-11-15 15:27:21 -05:00
2019-11-15 15:27:21 -05:00
2019-07-19 13:26:49 -04:00
2019-01-04 12:53:55 -05:00
2022-04-26 13:14:33 -04:00
2022-04-26 13:14:33 -04:00
2018-07-31 00:00:34 -04:00
2018-07-31 00:00:34 -04:00
2020-09-21 03:57:12 -04:00
2019-11-01 18:30:52 -04:00
2019-07-22 16:36:49 -04:00
2019-01-04 12:53:55 -05:00
2023-04-14 12:05:08 -04:00
2022-11-09 09:37:06 -05:00
2019-11-26 21:42:47 -05:00