shader: Improve VOTE.VTG stub
This commit is contained in:
parent
12f5f32098
commit
ecb30c9072
7 changed files with 147 additions and 4 deletions
|
@ -59,6 +59,14 @@ void EmitSetZFlag(EmitContext& ctx);
|
|||
void EmitSetSFlag(EmitContext& ctx);
|
||||
void EmitSetCFlag(EmitContext& ctx);
|
||||
void EmitSetOFlag(EmitContext& ctx);
|
||||
void EmitGetFCSMFlag(EmitContext& ctx);
|
||||
void EmitGetTAFlag(EmitContext& ctx);
|
||||
void EmitGetTRFlag(EmitContext& ctx);
|
||||
void EmitGetMXFlag(EmitContext& ctx);
|
||||
void EmitSetFCSMFlag(EmitContext& ctx);
|
||||
void EmitSetTAFlag(EmitContext& ctx);
|
||||
void EmitSetTRFlag(EmitContext& ctx);
|
||||
void EmitSetMXFlag(EmitContext& ctx);
|
||||
Id EmitWorkgroupId(EmitContext& ctx);
|
||||
Id EmitLocalInvocationId(EmitContext& ctx);
|
||||
Id EmitLoadLocal(EmitContext& ctx, Id word_offset);
|
||||
|
|
|
@ -263,6 +263,38 @@ void EmitSetOFlag(EmitContext&) {
|
|||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitGetFCSMFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitGetTAFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitGetTRFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitGetMXFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitSetFCSMFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitSetTAFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitSetTRFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
void EmitSetMXFlag(EmitContext&) {
|
||||
throw NotImplementedException("SPIR-V Instruction");
|
||||
}
|
||||
|
||||
Id EmitWorkgroupId(EmitContext& ctx) {
|
||||
return ctx.OpLoad(ctx.U32[3], ctx.workgroup_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue