mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 22:14:56 +00:00
Update emit_spirv_context_get_set.cpp
This commit is contained in:
parent
5c75da8abc
commit
1aed3d2feb
@ -433,8 +433,7 @@ static Id EmitLoadBufferFormatF64xN(EmitContext& ctx, IR::Inst* inst, u32 handle
|
||||
} else {
|
||||
boost::container::static_vector<Id, N> ids;
|
||||
for (u32 i = 0; i < N; i++) {
|
||||
const Id index_i =
|
||||
ctx.OpIAdd(ctx.U32[1], address, ctx.ConstU32(i * 8));
|
||||
const Id index_i = ctx.OpIAdd(ctx.U32[1], address, ctx.ConstU32(i * 8));
|
||||
const Id ptr =
|
||||
ctx.OpAccessChain(buffer.pointer_type, buffer.id, ctx.u32_zero_value, index_i);
|
||||
ids.push_back(ctx.OpLoad(ctx.F64[1], ptr));
|
||||
|
Loading…
Reference in New Issue
Block a user