mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 00:00:47 +02:00
zink: don't flatten 64bit arrays during rewrite
dunno what I was thinking here
Fixes: 5b2f850425 ("zink: rewrite 64bit shader i/o as 32bit")
SoroushIMG <soroush.kashani@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18728>
This commit is contained in:
parent
52edd8f764
commit
17e3df4cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -1567,7 +1567,7 @@ rewrite_64bit_type(nir_shader *nir, const struct glsl_type *type, nir_variable *
|
|||
{
|
||||
if (glsl_type_is_array(type)) {
|
||||
const struct glsl_type *child = glsl_get_array_element(type);
|
||||
unsigned elements = glsl_get_aoa_size(type);
|
||||
unsigned elements = glsl_array_size(type);
|
||||
unsigned stride = glsl_get_explicit_stride(type);
|
||||
return glsl_array_type(rewrite_64bit_type(nir, child, var), elements, stride);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue