mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Vk Pixel History: support other depth formats MSAA
- Separate the pixel history copy pixel shader into two separate shaders, one for colour copy and one for depth - Allocate and update descriptor sets on demand - Add another compute shader for pixel history depth copy
This commit is contained in:
1 parent
b2d85982a5
commit
0fd3d65a6f
17 files changed
+370
-245
No files matched your search
@@ -94,6 +94,8 @@ static const BuiltinShaderConfig builtinShaders[] = {
|
||||
rdcspv::ShaderStage::Fragment, FeatureCheck::NoCheck, true},
|
||||
{BuiltinShader::PixelHistoryMSCopyCS, EmbeddedResource(glsl_pixelhistory_mscopy_comp),
|
||||
rdcspv::ShaderStage::Compute, FeatureCheck::NoCheck, true},
|
||||
{BuiltinShader::PixelHistoryMSCopyDepthCS, EmbeddedResource(glsl_pixelhistory_mscopy_depth_comp),
|
||||
rdcspv::ShaderStage::Compute, FeatureCheck::NoCheck, true},
|
||||
{BuiltinShader::PixelHistoryPrimIDFS, EmbeddedResource(glsl_pixelhistory_primid_frag),
|
||||
rdcspv::ShaderStage::Fragment, FeatureCheck::NoCheck, true},
|
||||
{BuiltinShader::ShaderDebugSampleVS, EmbeddedResource(glsl_shaderdebug_sample_vert),
|
||||
|
||||
Reference in new issue
Block a user