i965: Add support for sampling from XYUV images
Add support to the i965 DRI driver to sample from XYUV8888 buffers. Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:

committed by
Lionel Landwerlin

parent
65600d0946
commit
7cab8d3661
@@ -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,
|
||||
|
Reference in New Issue
Block a user