Change-Id: Iaa1afa361d29022388005c173054f714c64fb7d7
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
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;