RADV bug fix (#139)

* Use correct typing for stencil, dispatch launch on UI thread
* Clean up some LaunchPath code
This commit is contained in:
Gloria
2023-03-06 08:31:05 +01:00
committed by GitHub
parent 84571f8fe6
commit d62fe21d47
2 changed files with 3 additions and 2 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_int, "gl_FragStencilRefARB");
type_uint, "gl_FragStencilRefARB");
builder.addDecoration(output_fragment_stencil_ref,
spv::DecorationBuiltIn,
spv::BuiltInFragStencilRefEXT);