diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-02 10:42:24 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-04-02 10:42:24 +0000 |
commit | a3f73acb9d2cdc62692af7ff93c51f910dff2d0d (patch) | |
tree | 303d205e8e6ed9676bdcbe006a402c23bf668f6c /lib/mesa/src/intel/isl/isl_priv.h | |
parent | f54e142455cb3c9d1662dae7e096a32a47e5409b (diff) |
Merge Mesa 23.3.6
Diffstat (limited to 'lib/mesa/src/intel/isl/isl_priv.h')
-rw-r--r-- | lib/mesa/src/intel/isl/isl_priv.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/mesa/src/intel/isl/isl_priv.h b/lib/mesa/src/intel/isl/isl_priv.h index 130ff61e1..0eb54264b 100644 --- a/lib/mesa/src/intel/isl/isl_priv.h +++ b/lib/mesa/src/intel/isl/isl_priv.h @@ -77,6 +77,8 @@ typedef void (*isl_emit_cpb_control_s_func)(const struct isl_device *dev, void * return isl_gfx12_##func; \ case 125: \ return isl_gfx125_##func; \ + case 200: \ + return isl_gfx20_##func; \ default: \ assert(!"Unknown hardware generation"); \ return NULL; \ @@ -247,6 +249,14 @@ _isl_memcpy_tiled_to_linear_sse41(uint32_t xt1, uint32_t xt2, enum isl_tiling tiling, isl_memcpy_type copy_type); +void PRINTFLIKE(4, 5) +_isl_notify_failure(const struct isl_surf_init_info *surf_info, + const char *file, int line, const char *fmt, ...); + +#define notify_failure(surf_info, ...) \ + (_isl_notify_failure(surf_info, __FILE__, __LINE__, __VA_ARGS__), false) + + /* This is useful for adding the isl_prefix to genX functions */ #define isl_genX(x) CONCAT2(isl_, genX(x)) @@ -283,6 +293,9 @@ _isl_memcpy_tiled_to_linear_sse41(uint32_t xt1, uint32_t xt2, # define genX(x) gfx125_##x # include "isl_genX_priv.h" # undef genX +# define genX(x) gfx20_##x +# include "isl_genX_priv.h" +# undef genX #endif #endif /* ISL_PRIV_H */ |