]> git.tdb.fi Git - libs/gl.git/commit
Only remove load IDs of variables actually assigned in a loop
authorMikko Rasa <tdb@tdb.fi>
Sun, 10 Oct 2021 08:54:24 +0000 (11:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 10 Oct 2021 10:57:03 +0000 (13:57 +0300)
commit6f06479b765946bdd3174b2c05e7a1dda24c31c2
treef28ab572335357527510d2d82640ec08d45dae88
parent34d956d6890ce7070741667d4864fa798883da72
Only remove load IDs of variables actually assigned in a loop

Some variables like function arguments are not pointers and can't be
loaded again.
source/glsl/reflect.cpp
source/glsl/reflect.h
source/glsl/spirv.cpp
tests/glsl/use_parameter_in_loop.glsl [new file with mode: 0644]