Fix typing for output stencil ref
This commit is contained in:
parent
e7dcee4c39
commit
57a23cf192
|
@ -2289,7 +2289,7 @@ VkShaderModule VulkanRenderTargetCache::GetTransferShader(
|
||||||
builder.addCapability(spv::CapabilityStencilExportEXT);
|
builder.addCapability(spv::CapabilityStencilExportEXT);
|
||||||
output_fragment_stencil_ref =
|
output_fragment_stencil_ref =
|
||||||
builder.createVariable(spv::NoPrecision, spv::StorageClassOutput,
|
builder.createVariable(spv::NoPrecision, spv::StorageClassOutput,
|
||||||
type_uint, "gl_FragStencilRefARB");
|
type_int, "gl_FragStencilRefARB");
|
||||||
builder.addDecoration(output_fragment_stencil_ref,
|
builder.addDecoration(output_fragment_stencil_ref,
|
||||||
spv::DecorationBuiltIn,
|
spv::DecorationBuiltIn,
|
||||||
spv::BuiltInFragStencilRefEXT);
|
spv::BuiltInFragStencilRefEXT);
|
||||||
|
|
Loading…
Reference in New Issue