fix clang

This commit is contained in:
Hog 2026-06-09 11:11:23 +01:00 committed by GitHub
parent 3e7d639ed4
commit 7559720ea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -676,8 +676,8 @@ void EmitContext::DefineOutputs() {
spv::StorageClass::Output);
}
if (info.stores.Get(IR::Attribute::StencilRef) && profile.supports_shader_stencil_export) {
stencil_ref = DefineVariable(S32[1], spv::BuiltIn::FragStencilRefEXT,
spv::StorageClass::Output);
stencil_ref =
DefineVariable(S32[1], spv::BuiltIn::FragStencilRefEXT, spv::StorageClass::Output);
}
u32 num_render_targets = 0;
for (u32 i = 0; i < IR::NumRenderTargets; i++) {