diff options
Diffstat (limited to 'src/intel/compiler')
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 1 | ||||
-rw-r--r-- | src/intel/compiler/brw_nir.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index b894c47ed6b..7ae38e103c6 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -196,6 +196,7 @@ struct brw_sampler_prog_key_data { uint32_t yx_xuxv_image_mask; uint32_t xy_uxvx_image_mask; uint32_t ayuv_image_mask; + uint32_t xyuv_image_mask; /* Scale factor for each texture. */ float scale_factors[32]; diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index d0b1ba6e3d2..00e3879b4dc 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -963,6 +963,7 @@ brw_nir_apply_sampler_key(nir_shader *nir, tex_options.lower_yx_xuxv_external = key_tex->yx_xuxv_image_mask; tex_options.lower_xy_uxvx_external = key_tex->xy_uxvx_image_mask; tex_options.lower_ayuv_external = key_tex->ayuv_image_mask; + tex_options.lower_xyuv_external = key_tex->xyuv_image_mask; /* Setup array of scaling factors for each texture. */ memcpy(&tex_options.scale_factors, &key_tex->scale_factors, |