mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-11 14:19:10 +00:00
Implement V_READFIRSTLANE_B32 (#681)
* Implement V_READFIRSTLANE_B32 * refactor
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user