mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 16:48:20 +00:00
Subpass inputs are considered read-only
This commit is contained in:
1 file changed
+1
-1
@@ -962,7 +962,7 @@ void Reflector::MakeReflection(const GraphicsAPI sourceAPI, const ShaderStage st
|
||||
res.resType = TextureType::Texture2D;
|
||||
|
||||
res.isTexture = res.resType != TextureType::Buffer;
|
||||
res.isReadOnly = imageType.sampled != 2;
|
||||
res.isReadOnly = imageType.sampled != 2 || imageType.dim == rdcspv::Dim::SubpassData;
|
||||
|
||||
res.variableType.descriptor.type = imageType.retType.Type();
|
||||
|
||||
|
||||
Reference in new issue
Block a user