mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 02:45:00 +00:00
Implement V_READFIRSTLANE_B32 (#681)
* Implement V_READFIRSTLANE_B32 * refactor
This commit is contained in:
parent
e4d8857eb5
commit
1bd9317509
3 changed files with 10 additions and 4 deletions
|
@ -23,7 +23,7 @@ Id EmitQuadShuffle(EmitContext& ctx, Id value, Id index) {
|
|||
}
|
||||
|
||||
Id EmitReadFirstLane(EmitContext& ctx, Id value) {
|
||||
UNREACHABLE();
|
||||
return ctx.OpGroupNonUniformBroadcastFirst(ctx.U32[1], SubgroupScope(ctx), value);
|
||||
}
|
||||
|
||||
Id EmitReadLane(EmitContext& ctx, Id value, u32 lane) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue