Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

uint result index

Ameer J48862223aebb
diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp
index ca93dc2a20..fd38dcfe5d 100644
--- a/src/video_core/host_shaders/astc_decoder.comp
+++ b/src/video_core/host_shaders/astc_decoder.comp
@@ -88,7 +88,7 @@ int color_bitsread = 0;
#define VECTOR_ARRAY_SIZE DIVCEIL(ARRAY_NUM_ELEMENTS * 2, 4)
uvec4 result_vector[VECTOR_ARRAY_SIZE];
-int result_index = 0;
+uint result_index = 0;
uint result_vector_max_index;
bool result_limit_reached = false;