Added validation layer injection, working on message callbacks per the vulkan docs

This commit is contained in:
2024-10-04 19:56:58 -05:00
parent d97ac93a1f
commit 04997fa682
2 changed files with 71 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
CPPFLAGS=-g
CPPFLAGS=-g
LDFLAGS=-lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
DEBUGFLAGS=-DDEBUG
SRC=$(shell find . -name *.cpp)
OBJ=$(SRC:%.cpp=%.o)
@@ -12,6 +13,10 @@ all: $(BIN)
.PHONY: run
run: $(BIN)
./$(BIN)
.PHONY: debug
debug: LDFLAGS+=$(DEBUGFLAGS)
debug: $(BIN)
./$(BIN)
.PHONY: dep
dep:
sudo pacman -S gcc glfw glm shaderc libxi libxxf86vm