mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 03:28:12 +02:00
I have no idea why we were multiplying by 4 before. The offsets we get
from SPIR-V are in bytes and so is nir->num_uniforms so there's no need to
do any adjustment whatsoever.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| GLSL.std.450.h | ||
| nir_spirv.h | ||
| spirv.h | ||
| spirv_info.c | ||
| spirv_info.h | ||
| spirv_to_nir.c | ||
| vtn_alu.c | ||
| vtn_cfg.c | ||
| vtn_glsl450.c | ||
| vtn_private.h | ||
| vtn_variables.c | ||