opposite inner condition
This commit is contained in:
parent
bfe4c5957f
commit
f68024543f
1 changed files with 0 additions and 3 deletions
|
|
@ -757,9 +757,6 @@ TIntermTyped* HlslParseContext::handleBracketOperator(const TSourceLoc& loc, TIn
|
||||||
// indexStructBufferContent returns nullptr if it isn't a structuredbuffer (SSBO).
|
// indexStructBufferContent returns nullptr if it isn't a structuredbuffer (SSBO).
|
||||||
TIntermTyped* sbArray = indexStructBufferContent(loc, base);
|
TIntermTyped* sbArray = indexStructBufferContent(loc, base);
|
||||||
if (sbArray != nullptr) {
|
if (sbArray != nullptr) {
|
||||||
if (sbArray == nullptr)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
// Now we'll apply the [] index to that array
|
// Now we'll apply the [] index to that array
|
||||||
const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
|
const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue