Fix typing for output stencil ref

This commit is contained in:
yeah-its-gloria 2023-12-04 03:01:20 +01:00 committed by Radosław Gliński
parent e7dcee4c39
commit 57a23cf192
1 changed files with 1 additions and 1 deletions

View File

@ -2289,7 +2289,7 @@ VkShaderModule VulkanRenderTargetCache::GetTransferShader(
builder.addCapability(spv::CapabilityStencilExportEXT);
output_fragment_stencil_ref =
builder.createVariable(spv::NoPrecision, spv::StorageClassOutput,
type_uint, "gl_FragStencilRefARB");
type_int, "gl_FragStencilRefARB");
builder.addDecoration(output_fragment_stencil_ref,
spv::DecorationBuiltIn,
spv::BuiltInFragStencilRefEXT);