diff options
author | Lionel Landwerlin <[email protected]> | 2018-11-08 17:26:36 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-11-12 13:22:54 +0000 |
commit | 89785e2d56e7fa88efa79d1981f7283ee65a458e (patch) | |
tree | 5ebacdf18a7265e92ddb72fa3e9288c0ce74f156 /src/intel/compiler/brw_nir.c | |
parent | 252ca7b43fa0516548dbba86823e03c153dc3da6 (diff) |
i965: add support for sampling from AYUV
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index cf5a4a96d67..26a5ea04605 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -877,6 +877,7 @@ brw_nir_apply_sampler_key(nir_shader *nir, tex_options.lower_y_u_v_external = key_tex->y_u_v_image_mask; 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; if (nir_lower_tex(nir, &tex_options)) { nir_validate_shader(nir, "after nir_lower_tex"); |