From f6f05fc8c1227d500e856053b9cad3ec5be2be67 Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Fri, 27 Sep 2024 03:46:58 +0200 Subject: [PATCH] Fix the ComputeShader texture views --- ComputeShader/Sources/compute.c | 4 ++-- Kinc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ComputeShader/Sources/compute.c b/ComputeShader/Sources/compute.c index f0e5877..2c266c8 100644 --- a/ComputeShader/Sources/compute.c +++ b/ComputeShader/Sources/compute.c @@ -145,7 +145,7 @@ int kickstart(int argc, char **argv) { constants_type_buffer_create(&device, &constants); { - everything_parameters parameters; + everything_parameters parameters = {0}; parameters.constants = &constants; parameters.comp_texture.texture = &texture; parameters.comp_texture.base_mip_level = 0; @@ -158,7 +158,7 @@ int kickstart(int argc, char **argv) { compute_constants_type_buffer_create(&device, &compute_constants); { - compute_parameters parameters; + compute_parameters parameters = {0}; parameters.compute_constants = &compute_constants; parameters.dest_texture.texture = &texture; parameters.dest_texture.base_mip_level = 0; diff --git a/Kinc b/Kinc index ea02647..2f0cd60 160000 --- a/Kinc +++ b/Kinc @@ -1 +1 @@ -Subproject commit ea02647ba6d91f5dd6f3cd5b772dd069660e1df9 +Subproject commit 2f0cd60e17c56ab018c45a574c48202d82edef27