mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
[host_shaders] Store the value of results instead of discarding it
the function generated the value but we never stored it effectively discarding the result.
This commit is contained in:
parent
48ba1f3f24
commit
213a9a7813
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ void WriteResults(uvec2 results[LOCAL_RESULTS]) {
|
|||
const uvec2 accum = accumulated_data;
|
||||
for (uint i = 0; i < LOCAL_RESULTS; i++) {
|
||||
uvec2 base_data = current_id * LOCAL_RESULTS + i < min_accumulation_base ? accum : uvec2(0, 0);
|
||||
AddUint64(results[i], base_data);
|
||||
results[i] = AddUint64(results[i], base_data);
|
||||
}
|
||||
for (uint i = 0; i < LOCAL_RESULTS; i++) {
|
||||
output_data[buffer_offset + current_id * LOCAL_RESULTS + i] = results[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue