OSDN Git Service

Addressing a FIXME
authorAlexis Hetu <sugoi@google.com>
Fri, 12 Jun 2015 19:27:15 +0000 (15:27 -0400)
committerAlexis Hétu <sugoi@google.com>
Fri, 12 Jun 2015 20:17:29 +0000 (20:17 +0000)
I added a FIXME in the code because EvqFragmentOut
hadn't been added yet, since this has now been done,
I can remove the comment to address the FIXME.

Change-Id: I67f4371802eb0e30278b3eaafab238a20798ae69
Reviewed-on: https://swiftshader-review.googlesource.com/3502
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/compiler/ParseHelper.cpp

index a9dbef6..5c95f15 100644 (file)
@@ -2083,14 +2083,11 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, co
                                "[", "array indexes for interface blocks arrays must be constant integral expressions");
                        recover();
                }
-               // FIXME
-               /*
                else if(baseExpression->getQualifier() == EvqFragmentOut)
                {
                        error(location, "", "[", "array indexes for fragment outputs must be constant integral expressions");
                        recover();
                }
-               */
 
                indexedExpression = intermediate.addIndex(EOpIndexIndirect, baseExpression, indexExpression, location);
        }