summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-10-24 01:28:46 +0200
committerBenjamin Otte <otte@redhat.com>2017-10-24 01:29:28 +0200
commite1572e003ab9de0e9fce503f967b5c4f5be36b9e (patch)
tree3df03e3d4b44939f66978e8ff8a4d81f185e145b
parente4dbff6bfcb5d7b75afe085b9d990af08074917d (diff)
downloadgtk+-e1572e003ab9de0e9fce503f967b5c4f5be36b9e.tar.gz
vulkan: No need to redefine gl_PerVertex
The compiler has those predefined, so use them.
-rw-r--r--gsk/resources/vulkan/blendmode.vert4
-rw-r--r--gsk/resources/vulkan/blendmode.vert.spvbin4124 -> 4260 bytes
-rw-r--r--gsk/resources/vulkan/blur.vert4
-rw-r--r--gsk/resources/vulkan/blur.vert.spvbin3440 -> 3576 bytes
-rw-r--r--gsk/resources/vulkan/border.vert4
-rw-r--r--gsk/resources/vulkan/border.vert.spvbin7428 -> 7548 bytes
-rw-r--r--gsk/resources/vulkan/color-matrix.vert4
-rw-r--r--gsk/resources/vulkan/color-matrix.vert.spvbin3488 -> 3624 bytes
-rw-r--r--gsk/resources/vulkan/color.vert4
-rw-r--r--gsk/resources/vulkan/color.vert.spvbin2148 -> 2284 bytes
-rw-r--r--gsk/resources/vulkan/crossfade.vert4
-rw-r--r--gsk/resources/vulkan/crossfade.vert.spvbin4108 -> 4244 bytes
-rw-r--r--gsk/resources/vulkan/inset-shadow.vert4
-rw-r--r--gsk/resources/vulkan/inset-shadow.vert.spvbin3012 -> 3148 bytes
-rw-r--r--gsk/resources/vulkan/linear.vert4
-rw-r--r--gsk/resources/vulkan/linear.vert.spvbin6212 -> 6332 bytes
-rw-r--r--gsk/resources/vulkan/mask.vert4
-rw-r--r--gsk/resources/vulkan/mask.vert.spvbin3284 -> 3420 bytes
-rw-r--r--gsk/resources/vulkan/outset-shadow.vert4
-rw-r--r--gsk/resources/vulkan/outset-shadow.vert.spvbin3804 -> 3940 bytes
-rw-r--r--gsk/resources/vulkan/texture.vert4
-rw-r--r--gsk/resources/vulkan/texture.vert.spvbin3136 -> 3272 bytes
22 files changed, 0 insertions, 44 deletions
diff --git a/gsk/resources/vulkan/blendmode.vert b/gsk/resources/vulkan/blendmode.vert
index 35b8356c90..6670475ed8 100644
--- a/gsk/resources/vulkan/blendmode.vert
+++ b/gsk/resources/vulkan/blendmode.vert
@@ -12,10 +12,6 @@ layout(location = 1) out vec2 outStartTexCoord;
layout(location = 2) out vec2 outEndTexCoord;
layout(location = 3) flat out uint outBlendMode;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/blendmode.vert.spv b/gsk/resources/vulkan/blendmode.vert.spv
index 614f7cfc50..2a8e9392ae 100644
--- a/gsk/resources/vulkan/blendmode.vert.spv
+++ b/gsk/resources/vulkan/blendmode.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/blur.vert b/gsk/resources/vulkan/blur.vert
index 4a5a138af8..10dccf7b7f 100644
--- a/gsk/resources/vulkan/blur.vert
+++ b/gsk/resources/vulkan/blur.vert
@@ -12,10 +12,6 @@ layout(location = 1) out flat vec2 outSize;
layout(location = 2) out vec2 outTexCoord;
layout(location = 3) out flat float outRadius;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/blur.vert.spv b/gsk/resources/vulkan/blur.vert.spv
index f83b77a2e7..f13264fdcf 100644
--- a/gsk/resources/vulkan/blur.vert.spv
+++ b/gsk/resources/vulkan/blur.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/border.vert b/gsk/resources/vulkan/border.vert
index b37ea9ec9c..c712796e6b 100644
--- a/gsk/resources/vulkan/border.vert
+++ b/gsk/resources/vulkan/border.vert
@@ -15,10 +15,6 @@ layout(location = 3) out flat vec4 outCornerWidths;
layout(location = 4) out flat vec4 outCornerHeights;
layout(location = 5) out flat vec4 outBorderWidths;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/border.vert.spv b/gsk/resources/vulkan/border.vert.spv
index dfa95f1b59..5cd6c74e2a 100644
--- a/gsk/resources/vulkan/border.vert.spv
+++ b/gsk/resources/vulkan/border.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/color-matrix.vert b/gsk/resources/vulkan/color-matrix.vert
index eb3f4fa727..f264d10cde 100644
--- a/gsk/resources/vulkan/color-matrix.vert
+++ b/gsk/resources/vulkan/color-matrix.vert
@@ -12,10 +12,6 @@ layout(location = 1) out vec2 outTexCoord;
layout(location = 2) out flat mat4 outColorMatrix;
layout(location = 6) out flat vec4 outColorOffset;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/color-matrix.vert.spv b/gsk/resources/vulkan/color-matrix.vert.spv
index 89176d44e6..640ea057c3 100644
--- a/gsk/resources/vulkan/color-matrix.vert.spv
+++ b/gsk/resources/vulkan/color-matrix.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/color.vert b/gsk/resources/vulkan/color.vert
index ce85ea7fd3..1e1618aef9 100644
--- a/gsk/resources/vulkan/color.vert
+++ b/gsk/resources/vulkan/color.vert
@@ -8,10 +8,6 @@ layout(location = 1) in vec4 inColor;
layout(location = 0) out vec2 outPos;
layout(location = 1) out flat vec4 outColor;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/color.vert.spv b/gsk/resources/vulkan/color.vert.spv
index 4a0b396584..cc12e4cfb5 100644
--- a/gsk/resources/vulkan/color.vert.spv
+++ b/gsk/resources/vulkan/color.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/crossfade.vert b/gsk/resources/vulkan/crossfade.vert
index 53cb15d012..837f0084ee 100644
--- a/gsk/resources/vulkan/crossfade.vert
+++ b/gsk/resources/vulkan/crossfade.vert
@@ -12,10 +12,6 @@ layout(location = 1) out vec2 outStartTexCoord;
layout(location = 2) out vec2 outEndTexCoord;
layout(location = 3) out float outProgress;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/crossfade.vert.spv b/gsk/resources/vulkan/crossfade.vert.spv
index c062edb2af..5df7beaecf 100644
--- a/gsk/resources/vulkan/crossfade.vert.spv
+++ b/gsk/resources/vulkan/crossfade.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/inset-shadow.vert b/gsk/resources/vulkan/inset-shadow.vert
index 7b76e532d5..5fd8623529 100644
--- a/gsk/resources/vulkan/inset-shadow.vert
+++ b/gsk/resources/vulkan/inset-shadow.vert
@@ -18,10 +18,6 @@ layout(location = 4) out flat vec4 outColor;
layout(location = 5) out flat vec2 outOffset;
layout(location = 6) out flat float outSpread;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/inset-shadow.vert.spv b/gsk/resources/vulkan/inset-shadow.vert.spv
index ce620f2d95..8f1d191ac0 100644
--- a/gsk/resources/vulkan/inset-shadow.vert.spv
+++ b/gsk/resources/vulkan/inset-shadow.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/linear.vert b/gsk/resources/vulkan/linear.vert
index f9fd57cac6..7453c0d884 100644
--- a/gsk/resources/vulkan/linear.vert
+++ b/gsk/resources/vulkan/linear.vert
@@ -29,10 +29,6 @@ layout(location = 2) out flat int outRepeating;
layout(location = 3) out flat int outStopCount;
layout(location = 4) out flat ColorStop outStops[8];
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/linear.vert.spv b/gsk/resources/vulkan/linear.vert.spv
index bcc3fcf17a..ef426921b6 100644
--- a/gsk/resources/vulkan/linear.vert.spv
+++ b/gsk/resources/vulkan/linear.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/mask.vert b/gsk/resources/vulkan/mask.vert
index f4bd9c18e3..03f0329278 100644
--- a/gsk/resources/vulkan/mask.vert
+++ b/gsk/resources/vulkan/mask.vert
@@ -10,10 +10,6 @@ layout(location = 0) out vec2 outPos;
layout(location = 1) out vec2 outTexCoord;
layout(location = 2) out flat vec4 outColor;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/mask.vert.spv b/gsk/resources/vulkan/mask.vert.spv
index 22cd856995..4c1bbfcad4 100644
--- a/gsk/resources/vulkan/mask.vert.spv
+++ b/gsk/resources/vulkan/mask.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/outset-shadow.vert b/gsk/resources/vulkan/outset-shadow.vert
index 2b7c94c00f..6fdaf17171 100644
--- a/gsk/resources/vulkan/outset-shadow.vert
+++ b/gsk/resources/vulkan/outset-shadow.vert
@@ -19,10 +19,6 @@ layout(location = 5) out flat vec2 outOffset;
layout(location = 6) out flat float outSpread;
layout(location = 7) out flat float outBlurRadius;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/outset-shadow.vert.spv b/gsk/resources/vulkan/outset-shadow.vert.spv
index 5f3db3d1f8..260009fb88 100644
--- a/gsk/resources/vulkan/outset-shadow.vert.spv
+++ b/gsk/resources/vulkan/outset-shadow.vert.spv
Binary files differ
diff --git a/gsk/resources/vulkan/texture.vert b/gsk/resources/vulkan/texture.vert
index c9bbb40906..e1e08bc21a 100644
--- a/gsk/resources/vulkan/texture.vert
+++ b/gsk/resources/vulkan/texture.vert
@@ -8,10 +8,6 @@ layout(location = 1) in vec4 inTexRect;
layout(location = 0) out vec2 outPos;
layout(location = 1) out vec2 outTexCoord;
-out gl_PerVertex {
- vec4 gl_Position;
-};
-
vec2 offsets[6] = { vec2(0.0, 0.0),
vec2(1.0, 0.0),
vec2(0.0, 1.0),
diff --git a/gsk/resources/vulkan/texture.vert.spv b/gsk/resources/vulkan/texture.vert.spv
index e814653f9b..159680ac36 100644
--- a/gsk/resources/vulkan/texture.vert.spv
+++ b/gsk/resources/vulkan/texture.vert.spv
Binary files differ