gtk/gsk/vulkan/resources
Benjamin Otte 64bcdb713c vulkan: Start rework on shaders to allow antialiased drawing
This introduces the rect object and adds a rect_distance() and
rect_coverage() function.

_distance() returns the signed distance tp the rectangle.
_coverage() returns the coverage of a pixel centered at that position.

Note that the pixel size is computed using dFdx/dFdy.
2023-06-04 19:42:00 +02:00
..
blendmode-clip-rounded.frag.spv
blendmode-clip-rounded.vert.spv
blendmode-clip.frag.spv
blendmode-clip.vert.spv
blendmode-rect-rounded.frag.spv
blendmode-rect.frag.spv
blendmode.frag
blendmode.frag.spv
blendmode.vert
blendmode.vert.spv
blur-clip-rounded.frag.spv
blur-clip-rounded.vert.spv
blur-clip.frag.spv
blur-clip.vert.spv
blur.frag
blur.frag.spv
blur.vert
blur.vert.spv
border-clip-rounded.frag.spv
border-clip-rounded.vert.spv
border-clip.frag.spv
border-clip.vert.spv
border.frag
border.frag.spv
border.vert
border.vert.spv
clip.frag.glsl
clip.vert.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
color-clip-rounded.frag.spv
color-clip-rounded.vert.spv
color-clip.frag.spv
color-clip.vert.spv
color-matrix-clip-rounded.frag.spv
color-matrix-clip-rounded.vert.spv
color-matrix-clip.frag.spv
color-matrix-clip.vert.spv
color-matrix.frag
color-matrix.frag.spv
color-matrix.vert
color-matrix.vert.spv
color.frag vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
color.frag.spv
color.vert vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
color.vert.spv
constants.glsl
crossfade-clip-rounded.frag.spv
crossfade-clip-rounded.vert.spv
crossfade-clip.frag.spv
crossfade-clip.vert.spv
crossfade-rect.vert.spv
crossfade.frag
crossfade.frag.spv
crossfade.vert
crossfade.vert.spv
inset-shadow-clip-rounded.frag.spv
inset-shadow-clip-rounded.vert.spv
inset-shadow-clip.frag.spv
inset-shadow-clip.vert.spv
inset-shadow.frag
inset-shadow.frag.spv
inset-shadow.vert
inset-shadow.vert.spv
linear-clip-rounded.frag.spv
linear-clip-rounded.vert.spv
linear-clip.frag.spv
linear-clip.vert.spv
linear.frag
linear.frag.spv
linear.vert
linear.vert.spv
mask-clip-rounded.frag.spv
mask-clip-rounded.vert.spv
mask-clip.frag.spv
mask-clip.vert.spv
mask.frag
mask.frag.spv
mask.vert
mask.vert.spv
meson.build vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
outset-shadow-clip-rounded.frag.spv
outset-shadow-clip-rounded.vert.spv
outset-shadow-clip.frag.spv
outset-shadow-clip.vert.spv
outset-shadow.frag
outset-shadow.frag.spv
outset-shadow.vert
outset-shadow.vert.spv
rect.frag.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
rect.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
rect.vert.glsl vulkan: Start rework on shaders to allow antialiased drawing 2023-06-04 19:42:00 +02:00
rounded-rect.glsl
texture-clip-rounded.frag.spv
texture-clip-rounded.vert.spv
texture-clip.frag.spv
texture-clip.vert.spv
texture.frag
texture.frag.spv
texture.vert
texture.vert.spv