iris: Build for Xe3

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31838>
This commit is contained in:
Jordan Justen 2023-08-02 00:21:51 -07:00 committed by Marge Bot
parent ae7619429e
commit fa964dcadc
5 changed files with 12 additions and 1 deletions

View file

@ -260,6 +260,9 @@ iris_destroy_context(struct pipe_context *ctx)
#define genX_call(devinfo, func, ...) \
switch ((devinfo)->verx10) { \
case 300: \
gfx30_##func(__VA_ARGS__); \
break; \
case 200: \
gfx20_##func(__VA_ARGS__); \
break; \

View file

@ -1528,6 +1528,9 @@ iris_execute_indirect_draw_supported(const struct iris_context *ice,
# define genX(x) gfx20_##x
# include "iris_genx_protos.h"
# undef genX
# define genX(x) gfx30_##x
# include "iris_genx_protos.h"
# undef genX
#endif
#endif

View file

@ -55,6 +55,8 @@
# include "intel_gfx125_shaders_code.h"
#elif GFX_VERx10 == 200
# include "intel_gfx20_shaders_code.h"
#elif GFX_VERx10 == 300
# include "intel_gfx30_shaders_code.h"
#else
# error "Unsupported generation"
#endif

View file

@ -62,6 +62,9 @@
#define genX_call(devinfo, func, ...) \
switch ((devinfo)->verx10) { \
case 300: \
gfx30_##func(__VA_ARGS__); \
break; \
case 200: \
gfx20_##func(__VA_ARGS__); \
break; \

View file

@ -54,7 +54,7 @@ files_libiris = files(
)
iris_per_hw_ver_libs = []
foreach v : ['80', '90', '110', '120', '125', '200']
foreach v : ['80', '90', '110', '120', '125', '200', '300']
iris_per_hw_ver_libs += static_library(
'iris_per_hw_ver@0@'.format(v),
['iris_blorp.c', 'iris_query.c', 'iris_state.c', 'iris_indirect_gen.c', gen_xml_pack],