1
0
mirror of https://github.com/elima/gpu-playground.git synced 2026-08-20 12:52:56 +00:00

vulkan-triangle: Uses the abstracted WSI API from common/wsi.h

This commit is contained in:
Eduardo Lima Mitev
2016-11-10 10:12:46 +01:00
parent 6d81ff42cf
commit 821e8f432c
2 changed files with 24 additions and 165 deletions
+2
View File
@@ -14,6 +14,7 @@ frag.spv: shader.frag
$(GLSL_VALIDATOR) -V shader.frag
$(TARGET): main.c vert.spv frag.spv \
common/wsi.h common/wsi-xcb.c \
common/vk-api.h common/vk-api.c
gcc -ggdb -O0 -Wall -std=c99 \
-DCURRENT_DIR=\"`pwd`\" \
@@ -22,6 +23,7 @@ $(TARGET): main.c vert.spv frag.spv \
-l$(VULKAN_SO_NAME) \
-DVK_USE_PLATFORM_XCB_KHR \
-o $(TARGET) \
common/wsi-xcb.c \
common/vk-api.c \
main.c