aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/tri.c8
-rw-r--r--demos/tri.vert3
2 files changed, 3 insertions, 8 deletions
diff --git a/demos/tri.c b/demos/tri.c
index 847655fa..1c80a22b 100644
--- a/demos/tri.c
+++ b/demos/tri.c
@@ -2164,14 +2164,6 @@ static void demo_init_vk(struct demo *demo) {
VkPhysicalDeviceFeatures features;
vkGetPhysicalDeviceFeatures(demo->gpu, &features);
- //TODO: Enable this
-#ifndef __ANDROID__
- if (!features.shaderClipDistance) {
- ERR_EXIT("Required device feature `shaderClipDistance` not supported\n",
- "GetPhysicalDeviceFeatures failure");
- }
-#endif
-
// Graphics queue and MemMgr queue can be separate.
// TODO: Add support for separate queues, including synchronization,
// and appropriate tracking for QueueSubmit
diff --git a/demos/tri.vert b/demos/tri.vert
index 92d6436e..d4788d81 100644
--- a/demos/tri.vert
+++ b/demos/tri.vert
@@ -24,6 +24,9 @@
layout (location = 0) in vec4 pos;
layout (location = 1) in vec2 attr;
layout (location = 0) out vec2 texcoord;
+out gl_PerVertex {
+ vec4 gl_Position;
+};
void main() {
texcoord = attr;
gl_Position = pos;