mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
ae7619429e
commit
fa964dcadc
5 changed files with 12 additions and 1 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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; \
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue