1
0
mirror of https://github.com/elima/gpu-playground.git synced 2026-08-21 05:12:53 +00:00

vulkan-triangle: Use the new Vulkan API loader helper

This commit is contained in:
Eduardo Lima Mitev
2016-09-28 19:13:38 +02:00
parent df4e267e45
commit f54e78c3f8
2 changed files with 8 additions and 126 deletions
+3 -1
View File
@@ -13,13 +13,15 @@ vert.spv: shader.vert
frag.spv: shader.frag
$(GLSL_VALIDATOR) -V shader.frag
$(TARGET): main.c vert.spv frag.spv
$(TARGET): main.c vert.spv frag.spv \
common/vk-api.h common/vk-api.c
gcc -ggdb -O0 -Wall -std=c99 \
-DCURRENT_DIR=\"`pwd`\" \
`pkg-config --libs --cflags xcb` \
-L $(VULKAN_SO_PATH) \
-l$(VULKAN_SO_NAME) \
-o $(TARGET) \
common/vk-api.c \
main.c
clean: