mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-04-21 19:07:51 +00:00
Fix typo in stride change shader
Fixes Castlevania Dominus Collection
This commit is contained in:
parent
ce23bff285
commit
16eb005e8b
@ -27,7 +27,7 @@ kernel void kernelMain(constant ConstantBuffers &constant_buffers [[buffer(CONST
|
|||||||
device StorageBuffers &storage_buffers [[buffer(STORAGE_BUFFERS_INDEX)]],
|
device StorageBuffers &storage_buffers [[buffer(STORAGE_BUFFERS_INDEX)]],
|
||||||
uint3 thread_position_in_grid [[thread_position_in_grid]],
|
uint3 thread_position_in_grid [[thread_position_in_grid]],
|
||||||
uint3 threads_per_threadgroup [[threads_per_threadgroup]],
|
uint3 threads_per_threadgroup [[threads_per_threadgroup]],
|
||||||
uint3 threadgroups_per_grid [[threads_per_grid]])
|
uint3 threadgroups_per_grid [[threadgroups_per_grid]])
|
||||||
{
|
{
|
||||||
// Determine what slice of the stride copies this invocation will perform.
|
// Determine what slice of the stride copies this invocation will perform.
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ kernel void kernelMain(constant ConstantBuffers &constant_buffers [[buffer(CONST
|
|||||||
device StorageBuffers &storage_buffers [[buffer(STORAGE_BUFFERS_INDEX)]],
|
device StorageBuffers &storage_buffers [[buffer(STORAGE_BUFFERS_INDEX)]],
|
||||||
uint3 thread_position_in_grid [[thread_position_in_grid]],
|
uint3 thread_position_in_grid [[thread_position_in_grid]],
|
||||||
uint3 threads_per_threadgroup [[threads_per_threadgroup]],
|
uint3 threads_per_threadgroup [[threads_per_threadgroup]],
|
||||||
uint3 threadgroups_per_grid [[threads_per_grid]])
|
uint3 threadgroups_per_grid [[threadgroups_per_grid]])
|
||||||
{
|
{
|
||||||
// Determine what slice of the stride copies this invocation will perform.
|
// Determine what slice of the stride copies this invocation will perform.
|
||||||
int invocations = int(threads_per_threadgroup.x * threadgroups_per_grid.x);
|
int invocations = int(threads_per_threadgroup.x * threadgroups_per_grid.x);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user