mirror of https://gitlab.freedesktop.org/mesa/mesa
Apparently we never hit this path. Or at least haven't for a rather long time. But in either case (load_deref or load_frag_coord), we can just directly use the intrinsic's ssa dest. So stop passing the nir_variable (which would be NULL in the load_frag_coord case) around and instead just use &intr->dest.ssa. (This ofc means we need to setup the cursor to insert *after* the instruction, which seems to be another bug of the original implementation.) Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> |
||
---|---|---|
.. | ||
glsl | ||
nir | ||
spirv | ||
Android.glsl.gen.mk | ||
Android.glsl.mk | ||
Android.mk | ||
Android.nir.gen.mk | ||
Android.nir.mk | ||
Makefile.sources | ||
SConscript | ||
SConscript.glsl | ||
SConscript.nir | ||
SConscript.spirv | ||
blob.c | ||
blob.h | ||
builtin_type_macros.h | ||
glsl_types.cpp | ||
glsl_types.h | ||
meson.build | ||
nir_types.cpp | ||
nir_types.h | ||
shader_enums.c | ||
shader_enums.h | ||
shader_info.h |