crocus/gen8: hookup gen8 state generators

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11507>
This commit is contained in:
Dave Airlie 2021-06-22 05:40:49 +10:00 committed by Marge Bot
parent edf05076a4
commit c630304196
4 changed files with 10 additions and 1 deletions

View File

@ -210,6 +210,9 @@ crocus_destroy_context(struct pipe_context *ctx)
#define genX_call(devinfo, func, ...) \
switch ((devinfo)->verx10) { \
case 80: \
gfx8_##func(__VA_ARGS__); \
break; \
case 75: \
gfx75_##func(__VA_ARGS__); \
break; \

View File

@ -954,6 +954,9 @@ static inline bool crocus_check_conditional_render(struct crocus_context *ice)
# define genX(x) gfx75_##x
# include "crocus_genx_protos.h"
# undef genX
# define genX(x) gfx8_##x
# include "crocus_genx_protos.h"
# undef genX
#endif
#endif

View File

@ -59,6 +59,9 @@
#define genX_call(devinfo, func, ...) \
switch ((devinfo)->verx10) { \
case 80: \
gfx8_##func(__VA_ARGS__); \
break; \
case 75: \
gfx75_##func(__VA_ARGS__); \
break; \

View File

@ -51,7 +51,7 @@ files_libcrocus = files(
)
crocus_per_hw_ver_libs = []
foreach v : ['40', '45', '50', '60', '70', '75']
foreach v : ['40', '45', '50', '60', '70', '75', '80']
crocus_per_hw_ver_libs += static_library(
'crocus_per_hw_ver@0@'.format(v),
['crocus_blorp.c', 'crocus_query.c', 'crocus_state.c', 'crocus_blt.c', gen_xml_pack],