mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
zink: stop setting ArrayStride on image arrays
this is illegal
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33651>
(cherry picked from commit b4e3535650)
This commit is contained in:
parent
0f3b6ba7ad
commit
31e9893f64
2 changed files with 1 additions and 2 deletions
|
|
@ -984,7 +984,7 @@
|
|||
"description": "zink: stop setting ArrayStride on image arrays",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1202,7 +1202,6 @@ emit_image(struct ntv_context *ctx, struct nir_variable *var, SpvId image_type)
|
|||
if (glsl_type_is_array(var->type)) {
|
||||
var_type = spirv_builder_type_array(&ctx->builder, var_type,
|
||||
emit_uint_const(ctx, 32, glsl_get_aoa_size(var->type)));
|
||||
spirv_builder_emit_array_stride(&ctx->builder, var_type, sizeof(void*));
|
||||
}
|
||||
SpvId pointer_type = spirv_builder_type_pointer(&ctx->builder,
|
||||
SpvStorageClassUniformConstant,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue