summaryrefslogtreecommitdiff
path: root/src/intel/compiler/brw_compiler.h
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_compiler.h
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_compiler.h')
-rw-r--r--src/intel/compiler/brw_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 3247a2efc32..25a0b1f58cb 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -217,6 +217,7 @@ struct brw_sampler_prog_key_data {
uint32_t xyuv_image_mask;
uint32_t bt709_mask;
uint32_t bt2020_mask;
+ uint32_t yuv_full_range_mask;
/* Scale factor for each texture. */
float scale_factors[32];