]> git.tdb.fi Git - libs/gl.git/commit
Don't add depth range conversion if an assignment to gl_Position.z exists
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Apr 2022 16:01:25 +0000 (19:01 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Apr 2022 16:05:05 +0000 (19:05 +0300)
commit6425fd2ec9c7e1e13c3afa7a79a9a2442d9e5c50
tree8b274a8b04f85701de1167cae1ca99309d324b53
parent97d26f5179e82cd2faf476a9605f8a4f4b33a926
Don't add depth range conversion if an assignment to gl_Position.z exists

This is kinda crude since it triggers from any such assignment, but it
allows the idempotence test cases to work.
source/glsl/finalize.cpp
source/glsl/finalize.h