added vulkan device and queues creation
This commit is contained in:
parent
89edee7249
commit
6c31a3ce27
20 changed files with 253 additions and 18 deletions
6
makefile
6
makefile
|
|
@ -15,13 +15,15 @@ endif
|
|||
ifeq (${BACKEND},vk)
|
||||
SRC += vk/platform.c\
|
||||
vk/renderer.c\
|
||||
vk/instance.c
|
||||
vk/instance.c\
|
||||
vk/physical_device.c\
|
||||
vk/device.c
|
||||
endif
|
||||
|
||||
OBJ:=${SRC:.c=.o}
|
||||
|
||||
all: ${OBJ}
|
||||
${CC} ${LIBS} ${OBJ} -o topaz
|
||||
${CC} ${LIBS} ${CFLAGS} ${OBJ} -o topaz
|
||||
|
||||
%.o: %.c
|
||||
${CC} ${CFLAGS} -c $< -o $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue