diff options
author | Jason Ekstrand <[email protected]> | 2019-02-22 11:15:21 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-07-24 12:55:40 -0500 |
commit | f62227f2b7c4d69b9e0e3cd1e61c5959459a8334 (patch) | |
tree | 6867e2374b330865fe6cca155def8c48f8293fdd /src/intel/compiler/brw_fs.cpp | |
parent | 87cef718e17bce15f1730beab74e414326992332 (diff) |
intel/nir: Make brw_nir_apply_sampler_key more generic
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 25e4dd9971c..30e04ddc318 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -7967,7 +7967,7 @@ brw_compile_fs(const struct brw_compiler *compiler, void *log_data, { const struct gen_device_info *devinfo = compiler->devinfo; - brw_nir_apply_sampler_key(shader, compiler, &key->base.tex, true); + brw_nir_apply_key(shader, compiler, &key->base, true); brw_nir_lower_fs_inputs(shader, devinfo, key); brw_nir_lower_fs_outputs(shader); @@ -8228,7 +8228,7 @@ compile_cs_to_nir(const struct brw_compiler *compiler, unsigned dispatch_width) { nir_shader *shader = nir_shader_clone(mem_ctx, src_shader); - brw_nir_apply_sampler_key(shader, compiler, &key->base.tex, true); + brw_nir_apply_key(shader, compiler, &key->base, true); NIR_PASS_V(shader, brw_nir_lower_cs_intrinsics, dispatch_width); |