diff options
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/shadow_process_geom.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/shadow_process_geom.glsl | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/shadow_process_geom.glsl b/source/blender/draw/engines/eevee/shaders/shadow_process_geom.glsl deleted file mode 100644 index 591666560c4..00000000000 --- a/source/blender/draw/engines/eevee/shaders/shadow_process_geom.glsl +++ /dev/null @@ -1,36 +0,0 @@ - -layout(triangles) in; -layout(triangle_strip, max_vertices = 3) out; - -layout(std140) uniform shadow_render_block -{ - /* Use vectors to avoid alignment padding. */ - ivec4 shadowSampleCount; - vec4 shadowInvSampleCount; - vec4 filterSize; - int viewCount; - int baseId; - float cubeTexelSize; - float storedTexelSize; - float nearClip; - float farClip; - float exponent; -}; - -in int layerID_g[]; - -flat out int layerID; - -void main() -{ - gl_Layer = layerID_g[0]; - layerID = gl_Layer - baseId; - - gl_Position = gl_in[0].gl_Position; - EmitVertex(); - gl_Position = gl_in[1].gl_Position; - EmitVertex(); - gl_Position = gl_in[2].gl_Position; - EmitVertex(); - EndPrimitive(); -} |