mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 09:57:58 -05:00
shader: Implement PIXLD.MY_INDEX
This commit is contained in:
@ -998,6 +998,9 @@ void EmitContext::DefineInputs(const Info& info) {
|
||||
if (info.uses_invocation_id) {
|
||||
invocation_id = DefineInput(*this, U32[1], false, spv::BuiltIn::InvocationId);
|
||||
}
|
||||
if (info.uses_sample_id) {
|
||||
sample_id = DefineInput(*this, U32[1], false, spv::BuiltIn::SampleId);
|
||||
}
|
||||
if (info.uses_is_helper_invocation) {
|
||||
is_helper_invocation = DefineInput(*this, U1, false, spv::BuiltIn::HelperInvocation);
|
||||
}
|
||||
|
Reference in New Issue
Block a user