]> git.tdb.fi Git - libs/gl.git/commit
Remove generic clipping state
authorMikko Rasa <tdb@tdb.fi>
Sun, 10 Oct 2021 14:08:42 +0000 (17:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 10 Oct 2021 15:35:28 +0000 (18:35 +0300)
commitf82ef715f0d7e1e7d0b93be4b7b89c8ce6bba40b
tree73cbc22aea641f4797d8a864e64e742294cc043c
parent271760e6099bf5f4ad90894697dab911c236a0a3
Remove generic clipping state

Instead do things the Vulkan way and set the enabled clip planes based on
the declared size of the gl_ClipDistance array in the shader.
22 files changed:
shaderlib/common.glsl
shaderlib/msp_interface.glsl
source/backends/opengl/pipelinestate_backend.cpp
source/backends/opengl/pipelinestate_backend.h
source/backends/opengl/program_backend.cpp
source/core/clipping.cpp [deleted file]
source/core/clipping.h [deleted file]
source/core/clipplane.cpp [deleted file]
source/core/clipplane.h [deleted file]
source/core/pipelinestate.cpp
source/core/pipelinestate.h
source/core/program.cpp
source/core/program.h
source/core/reflectdata.h
source/glsl/compiler.cpp
source/glsl/compiler.h
source/glsl/finalize.cpp
source/glsl/syntax.h
source/render/renderer.cpp
source/render/renderer.h
source/render/sequence.cpp
source/render/sequence.h