mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
microsoft/clc: Using sampler_id instead PIPE_MAX_SHADER_SAMPLER_VIEWS for dxil_lower_sample_to_txf_for_integer_tex
Because sampler_id is the real number of samples. Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24440>
This commit is contained in:
parent
e51acb65ac
commit
1181c2509d
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ clc_spirv_to_dxil(struct clc_libclc *lib,
|
|||
NIR_PASS_V(nir, clc_lower_nonnormalized_samplers, int_sampler_states);
|
||||
NIR_PASS_V(nir, nir_lower_samplers);
|
||||
NIR_PASS_V(nir, dxil_lower_sample_to_txf_for_integer_tex,
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, int_sampler_states, NULL, 14.0f);
|
||||
sampler_id, int_sampler_states, NULL, 14.0f);
|
||||
|
||||
NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_mem_shared | nir_var_function_temp, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue