mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
undo uint
This commit is contained in:
parent
8ce158bce6
commit
b36e645fee
@ -79,7 +79,7 @@ int color_bitsread = 0;
|
|||||||
#define VECTOR_ARRAY_SIZE DIVCEIL(ARRAY_NUM_ELEMENTS * 2, 4)
|
#define VECTOR_ARRAY_SIZE DIVCEIL(ARRAY_NUM_ELEMENTS * 2, 4)
|
||||||
uvec4 result_vector[VECTOR_ARRAY_SIZE];
|
uvec4 result_vector[VECTOR_ARRAY_SIZE];
|
||||||
|
|
||||||
uint result_index = 0;
|
int result_index = 0;
|
||||||
uint result_vector_max_index;
|
uint result_vector_max_index;
|
||||||
bool result_limit_reached = false;
|
bool result_limit_reached = false;
|
||||||
|
|
||||||
@ -122,8 +122,8 @@ void ResultEmplaceBack(EncodingData val) {
|
|||||||
result_limit_reached = true;
|
result_limit_reached = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const uint array_index = result_index / 4u;
|
const uint array_index = result_index / 4;
|
||||||
const uint vector_index = result_index % 4u;
|
const uint vector_index = result_index % 4;
|
||||||
result_vector[array_index][vector_index] = val.data;
|
result_vector[array_index][vector_index] = val.data;
|
||||||
++result_index;
|
++result_index;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user