mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Remove hardcoded complexity limit
This commit is contained in:
@@ -2106,7 +2106,7 @@ string SPVModule::Disassemble(const string &entryPoint)
|
||||
// allow less inlining in composite constructs
|
||||
int maxAllowedComplexity = NO_INLINE_COMPLEXITY;
|
||||
if(instr->opcode == spv::OpCompositeConstruct)
|
||||
maxAllowedComplexity = RDCMIN(2, maxAllowedComplexity);
|
||||
maxAllowedComplexity = RDCMIN(NO_INLINE_COMPLEXITY-1, maxAllowedComplexity);
|
||||
|
||||
// don't fold up too complex an operation
|
||||
// allow some ops to have multiple arguments, others with many
|
||||
|
||||
Reference in New Issue
Block a user