FUCK CLANG

This commit is contained in:
Hog 2026-06-06 23:20:29 +01:00 committed by GitHub
parent e8dbaf611b
commit c234299be7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,9 +140,9 @@ Id EmitGetAttribute(EmitContext& ctx, IR::Attribute attr, u32 comp, u32 index) {
return ctx.OpLoad(ctx.F32[1], ctx.OpAccessChain(ctx.input_f32, ctx.bary_coord_nopersp,
ctx.ConstU32(comp)));
case IR::Attribute::BaryCoordNoPerspSample:
return ctx.OpLoad(ctx.F32[1],
ctx.OpAccessChain(ctx.input_f32, ctx.bary_coord_nopersp_sample,
ctx.ConstU32(comp)));
return ctx.OpLoad(
ctx.F32[1],
ctx.OpAccessChain(ctx.input_f32, ctx.bary_coord_nopersp_sample, ctx.ConstU32(comp)));
default:
UNREACHABLE_MSG("Read attribute {}", attr);
}