mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-12 04:35:03 -06:00
Remove unnecessary conversion for stencil_ref
This commit is contained in:
parent
4bc8e89936
commit
9600ed5038
@ -256,7 +256,6 @@ void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, Id value, u32 elemen
|
||||
return op_store(ctx.OpAccessChain(ctx.output_u32, ctx.sample_mask, ctx.u32_zero_value));
|
||||
case IR::Attribute::StencilRef:
|
||||
if (ctx.profile.supports_shader_stencil_export) {
|
||||
value = ctx.OpConvertFToS(ctx.S32[1], value);
|
||||
return op_store(ctx.stencil_ref);
|
||||
}
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user