gtk2/gsk/resources/glsl
Emmanuel Gil Peyrot 28c4adac24 Fix gtk4-demo’s gears demo on OpenGL ES
Here is a command to reproduce this testcase:
GDK_DEBUG=gl-gles gtk4-demo --run gears

Without this patch, Mesa throws this compile error:
0:130(13): error: no matching function for call to `mod(error, float)'; candidates are:

This is caused by `u_rotation - 90` being of type error since
`u_rotation` is a float and it’s illegal to subtract it with an integer.
2020-12-25 01:21:08 +01:00
..
blend.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
blit.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
blur.glsl gl renderer: Remove two unused uniforms 2020-10-14 15:06:12 -04:00
border.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
color_matrix.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
color.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
coloring.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
conic_gradient.glsl Fix gtk4-demo’s gears demo on OpenGL ES 2020-12-25 01:21:08 +01:00
cross_fade.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
custom.glsl Support GLShaderNode in backends 2020-09-29 09:51:16 +02:00
inset_shadow.glsl gl renderer: Use premultiply() in inset shadow shader` 2020-10-14 15:06:12 -04:00
linear_gradient.glsl gradient shaders: Reduce out values as well 2020-10-05 20:35:34 -04:00
outset_shadow.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
preamble.fs.glsl glsl: tweak pre-processor to support Apple GLSL compiler 2020-10-29 10:57:02 -07:00
preamble.glsl glsl: Add a comment 2020-10-14 15:06:12 -04:00
preamble.vs.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
radial_gradient.glsl gradient shaders: Reduce out values as well 2020-10-05 20:35:34 -04:00
repeat.glsl gl: Add some namespacing to the preamble symbols 2020-09-29 09:51:16 +02:00
unblurred_outset_shadow.glsl unblurred outset shadow shader: Use premultiply() 2020-10-14 15:06:12 -04:00