diff --git a/client/Makefile b/client/Makefile index 0304f12..f769398 100644 --- a/client/Makefile +++ b/client/Makefile @@ -1,5 +1,5 @@ ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) -CFLAGS = -I $(ROOT_DIR)/include -I/usr/local/include -O0 -g -Wall -Wextra -fsanitize=address +CFLAGS = -I $(ROOT_DIR)/include -I/usr/local/include -O0 -g -Wall -Wextra LDFLAGS = -lfreetype -lz -lglfw -lvulkan -ldl -Xlinker -rpath -Xlinker /opt/homebrew/lib SOURCES = src/main.c src/draw.c src/ui.c src/gpu.c lib/spng.c lib/vma.cpp diff --git a/client/shader_src/string.comp b/client/shader_src/string.comp index 7470560..5ac57f0 100644 --- a/client/shader_src/string.comp +++ b/client/shader_src/string.comp @@ -14,7 +14,7 @@ void main() { uint buffer_pos = atomicAdd(pc.layer.draw.instance_count, string.len); vec2 pen = vec2(0.0, 0.0); - debugPrintfEXT("String[%d] length: %d", gID, string.len); + debugPrintfEXT("Frame [%d] String[%d] length: %d\n", pc.frame, gID, string.len); for(uint i = 0; i < string.len; i++) { uint code = pc.layer.codes.c[string.offset + i]; diff --git a/client/src/main.c b/client/src/main.c index efdad8e..9a6d892 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -175,7 +175,7 @@ VkResult main_thread(ClientContext* context) { LayerInput fps_layer = { .num_strings = 1, .strings = &fps_string, - .max_codes = 10, + .max_codes = 1000, }; ContainerInput fps_container = {