mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-20 22:41:36 +00:00
Subpass inputs are considered read-only
This commit is contained in:
@@ -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