zink: drop some more vla usage
MSVC doesn't like them, so let's get rid of more of them. Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11380>
This commit is contained in:
committed by
Marge Bot
parent
c14af0065e
commit
3179ce61e9
@@ -3047,7 +3047,7 @@ emit_tex(struct ntv_context *ctx, nir_tex_instr *tex)
|
||||
}
|
||||
|
||||
if (proj && coord_components > 0) {
|
||||
SpvId constituents[coord_components + 1];
|
||||
SpvId constituents[NIR_MAX_VEC_COMPONENTS + 1];
|
||||
if (coord_components == 1)
|
||||
constituents[0] = coord;
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user