summaryrefslogtreecommitdiff
path: root/src/intel/compiler/brw_debug_recompile.c
diff options
context:
space:
mode:
authorAndres Calderon Jaramillo <andrescj@chromium.org>2022-05-21 16:36:23 -0700
committerMarge Bot <emma+marge@anholt.net>2023-01-09 23:48:26 +0000
commit14d7da24640dadfb55769cfc93e13ab653996fed (patch)
tree6cd66cdcdf150b835621e6be971503370cdef4d0 /src/intel/compiler/brw_debug_recompile.c
parent221f3ca17e780212b285f3bcee271582ef7f10b8 (diff)
downloadmesa-amber.tar.gz
i965: Plumb YUV range to nir_lower_tex().amber
This patch plumbs the YUV range provided through EGL_EXT_image_dma_buf_import all the way to nir_lower_tex(). v2: Account for new field in debug_sampler_recompile() (Lionel). Tested-by: Andres Calderon Jaramillo <andrescj@chromium.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16652>
Diffstat (limited to 'src/intel/compiler/brw_debug_recompile.c')
-rw-r--r--src/intel/compiler/brw_debug_recompile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_debug_recompile.c b/src/intel/compiler/brw_debug_recompile.c
index 0c3b200cd6a..24963bf0429 100644
--- a/src/intel/compiler/brw_debug_recompile.c
+++ b/src/intel/compiler/brw_debug_recompile.c
@@ -72,6 +72,9 @@ debug_sampler_recompile(const struct brw_compiler *c, void *log,
found |= check("xy_uxvx image bound", xy_uxvx_image_mask);
found |= check("ayuv image bound", ayuv_image_mask);
found |= check("xyuv image bound", xyuv_image_mask);
+ found |= check("bt709", bt709_mask);
+ found |= check("bt2020", bt2020_mask);
+ found |= check("yuv full range", yuv_full_range_mask);
for (unsigned i = 0; i < MAX_SAMPLERS; i++) {
found |= check("EXT_texture_swizzle or DEPTH_TEXTURE_MODE", swizzles[i]);