mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-28 09:58:22 +02:00
gallivm/nir: avoid using params->info
This shouldn't be needed. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24804>
This commit is contained in:
parent
8e2f020bb4
commit
156d509ca4
1 changed files with 1 additions and 2 deletions
|
|
@ -2927,7 +2927,6 @@ void lp_build_nir_soa(struct gallivm_state *gallivm,
|
|||
bld.consts_ptr = params->consts_ptr;
|
||||
bld.ssbo_ptr = params->ssbo_ptr;
|
||||
bld.sampler = params->sampler;
|
||||
// bld.bld_base.info = params->info;
|
||||
|
||||
bld.resources_type = params->resources_type;
|
||||
bld.resources_ptr = params->resources_ptr;
|
||||
|
|
@ -2940,7 +2939,7 @@ void lp_build_nir_soa(struct gallivm_state *gallivm,
|
|||
bld.coro = params->coro;
|
||||
bld.kernel_args_ptr = params->kernel_args;
|
||||
bld.indirects = 0;
|
||||
if (params->info->indirect_files & (1 << TGSI_FILE_INPUT))
|
||||
if (shader->info.inputs_read_indirectly)
|
||||
bld.indirects |= nir_var_shader_in;
|
||||
|
||||
bld.gs_iface = params->gs_iface;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue