]> git.tdb.fi Git - libs/gl.git/commit
Add a separate constant to enable clipping in standard shaders
authorMikko Rasa <tdb@tdb.fi>
Wed, 7 Apr 2021 23:00:51 +0000 (02:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 7 Apr 2021 23:02:04 +0000 (02:02 +0300)
commit594f5277e988a5a7b3b4ae381993da68ed733733
tree272287024e930047761cf6bb787ea3450a33068c
parent9d9e008291a447b5d192e724e9022180503c8c3e
Add a separate constant to enable clipping in standard shaders

Declaring an array with zero size is not allowed, so using zero for
max_clip_planes doesn't work.
shaderlib/common.glsl
shaderlib/msp_interface.glsl