commit | 8bcd9dd998e868c7c373f374868ae4d44cb87d49 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Tue Apr 12 09:24:52 2016 -0400 |
committer | Nicolas Capens <capn@google.com> | Thu Apr 14 19:56:19 2016 +0000 |
tree | 684996aeeb9ea5a9cc9430c75859994aee822335 | |
parent | f330190f46fa3ff9bb0ff789a4730d5fcc213e37 [diff] |
Fix error on invalid type/format combination. GL_INVALID_ENUM is for enum values that are never valid for the function. GL_INVALID_OPERATION is expected for enum combinations that are not valid. Change-Id: I43a6cd169303420a680e4cab15683605a8684517 Reviewed-on: https://swiftshader-review.googlesource.com/5094 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>