mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
nir/spirv: Put SSBO store writemasks in the right index
It moved with the nir_intrinsic_load/store update.
This commit is contained in:
parent
d5c9955d3e
commit
13d1dd465c
1 changed files with 1 additions and 1 deletions
|
|
@ -1319,7 +1319,7 @@ _vtn_block_store(struct vtn_builder *b, nir_intrinsic_op op,
|
|||
if (glsl_type_is_vector_or_scalar(type->type)) {
|
||||
nir_intrinsic_instr *store = nir_intrinsic_instr_create(b->shader, op);
|
||||
store->num_components = glsl_get_vector_elements(type->type);
|
||||
store->const_index[1] = (1 << store->num_components) - 1;
|
||||
store->const_index[0] = (1 << store->num_components) - 1;
|
||||
store->src[0] = nir_src_for_ssa(src->def);
|
||||
|
||||
nir_ssa_def *res_index = nir_vulkan_resource_index(&b->nb,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue