Closed ArielG-NV closed 3 months ago
You may also want to enable all the tests that this PR fixes. Do you have a mac to test locally?
You may also want to enable all the tests that this PR fixes. Do you have a mac to test locally?
I do not have a Mac locally setup,
I am going to merge this PR as is. It seems that a natural next step following this is to investigate how we can reuse the entrypoint param legalization logic for metal, so that we can convert all vertex attribute inputs and fragment stage_in inputs buried inside nested structs into top level entry point parameters.
Yes, we will do the refactoring as a part of #4375.
fixes: #4370
SV_GroupThreadId
available we create one usingSV_GroupIndex
s location data sinceSV_GroupIndex
is not an actual SV for metal.We emit code emulating
SV_GroupThreadId
from the same logic that CUDA/CPP uses.note: added
SV_GroupId
translation tothreadgroup_position_in_grid
so I can get aSV_GroupIndex
test to run