mesa/src/compiler
Rob Clark a2c89a85f4 nir: fix lower_wpos_ytransform in load_frag_coord case
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>
2019-05-02 11:19:22 -07:00
..
glsl glsl: fix typo in #warning message 2019-05-02 06:32:57 -06:00
nir nir: fix lower_wpos_ytransform in load_frag_coord case 2019-05-02 11:19:22 -07:00
spirv spirv: add missing SPV_EXT_descriptor_indexing capabilities 2019-04-30 09:22:45 +02:00
Android.glsl.gen.mk android,autotools,i965: Fix location of float64_glsl.h 2019-01-31 19:04:30 +00:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk
Android.nir.mk
Makefile.sources nir: add rcp(w) lowering for gl_FragCoord 2019-04-29 02:46:44 +00:00
SConscript
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir
SConscript.spirv
blob.c
blob.h
builtin_type_macros.h
glsl_types.cpp compiler/glsl: handle case where we have multiple users for types 2019-04-16 12:58:00 +03:00
glsl_types.h compiler/glsl: handle case where we have multiple users for types 2019-04-16 12:58:00 +03:00
meson.build
nir_types.cpp nir: fix a few signed/unsigned comparison warnings 2019-03-25 06:51:31 -06:00
nir_types.h nir: move gls_type_get_{sampler,image}_count() 2019-03-21 09:13:05 -04:00
shader_enums.c compiler: rename SYSTEM_VALUE_VARYING_COORD 2019-04-25 14:13:31 -07:00
shader_enums.h compiler: rename SYSTEM_VALUE_VARYING_COORD 2019-04-25 14:13:31 -07:00
shader_info.h spirv: add missing SPV_EXT_descriptor_indexing capabilities 2019-04-30 09:22:45 +02:00