mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Always add add printf location inputs to entry point globals
* Even in older SPIR-V versions, Input class globals should be listed in the entry point interface list.
This commit is contained in:
@@ -557,8 +557,7 @@ void AnnotateShader(const ShaderReflection &refl, const SPIRVPatchData &patchDat
|
||||
editor.AddDecoration(rdcspv::OpDecorate(
|
||||
rdocGlobalVar, rdcspv::DecorationParam<rdcspv::Decoration::BuiltIn>(spvBuiltin)));
|
||||
|
||||
if(editor.EntryPointAllGlobals())
|
||||
newGlobals.push_back(rdocGlobalVar);
|
||||
newGlobals.push_back(rdocGlobalVar);
|
||||
|
||||
editor.SetName(rdocGlobalVar, name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user