mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-09 01:00:51 +00:00
Updates from renderdoc branch on https://github.com/baldurk/glslang
This commit is contained in:
@@ -817,6 +817,8 @@ bool TGlslangToSpvTraverser::visitAggregate(glslang::TVisit visit, glslang::TInt
|
||||
glslang::TConstUnionArray emptyConsts;
|
||||
int nextConst = 0;
|
||||
result = createSpvConstant(node->getType(), emptyConsts, nextConst);
|
||||
if(! result)
|
||||
return false;
|
||||
}
|
||||
builder.clearAccessChain();
|
||||
builder.setAccessChainRValue(result);
|
||||
|
||||
+3
-3
@@ -2129,13 +2129,13 @@ void Builder::dumpInstructions(std::vector<unsigned int>& out, const std::vector
|
||||
|
||||
void MissingFunctionality(const char* fun)
|
||||
{
|
||||
printf("Missing functionality: %s\n", fun);
|
||||
exit(1);
|
||||
//printf("Missing functionality: %s\n", fun);
|
||||
//exit(1);
|
||||
}
|
||||
|
||||
void ValidationError(const char* error)
|
||||
{
|
||||
printf("Validation Error: %s\n", error);
|
||||
//printf("Validation Error: %s\n", error);
|
||||
}
|
||||
|
||||
}; // end spv namespace
|
||||
|
||||
Reference in New Issue
Block a user