commit | 3c1d6cf226aa633df7d3388d6f7a26f5bb68ac64 | [log] [tgz] |
---|---|---|
author | Alexis Hetu <sugoi@google.com> | Tue Feb 06 10:54:49 2018 -0500 |
committer | Alexis Hétu <sugoi@google.com> | Tue Feb 06 17:56:21 2018 +0000 |
tree | 1e025ab7d2d7b104a5f9c63f594872fb022e1ae9 | |
parent | d2ec29e4a436b04b8aa1a232ad1cae11b19b148f [diff] [blame] |
Fragment output fix Allow not specifying a fragment output location. Change-Id: I76c6e6efdff3161586f5d5422e97731969b9396c Reviewed-on: https://swiftshader-review.googlesource.com/17028 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/OpenGL/compiler/ParseHelper.cpp b/src/OpenGL/compiler/ParseHelper.cpp index 4f6ffff..f2f3089 100644 --- a/src/OpenGL/compiler/ParseHelper.cpp +++ b/src/OpenGL/compiler/ParseHelper.cpp
@@ -2826,7 +2826,7 @@ { TLayoutQualifier qualifier; - qualifier.location = -1; + qualifier.location = -1; // -1 isn't a valid location, it means the value isn't set. Negative values are checked lower in this function. qualifier.matrixPacking = EmpUnspecified; qualifier.blockStorage = EbsUnspecified;