mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-05 04:18:16 +02:00
Looking at the following bit of SPIRV shader : ... %zero = OpConstant %i32 0 %ivec3_0 = OpConstantComposite %ivec3 %zero %zero %zero %vec3_undef = OpUndef %ivec3 %sc_0 = OpSpecConstant %i32 0 %sc_1 = OpSpecConstant %i32 0 %sc_2 = OpSpecConstant %i32 0 ... Our compiler currently stops parsing variables & types on the OpUndef and switches to instructions, leaving the following sc_[0-2] variables untreated. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Cc: "17.0 13.0" <mesa-stable@lists.freedesktop.org> |
||
|---|---|---|
| .. | ||
| GLSL.std.450.h | ||
| nir_spirv.h | ||
| spirv.h | ||
| spirv2nir.c | ||
| 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 | ||