diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-07-29 16:01:23 +0200 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-08-05 08:20:16 +0200 |
commit | b38a50f1e3edae6079c91f73a8d9c63a2dbf512a (patch) | |
tree | 718c7952dd9f5191883fd6b613127842d1604963 /src/mesa/main/teximage.c | |
parent | 784bea5a38c219a5ab587ff1ddce8879d4f7dce1 (diff) |
mesa: Fix errors values returned by glShaderBinary()
Page 68, section 7.2 'Shader Binaries" of the of the OpenGL ES 3.1,
and page 88 of the OpenGL 4.5 specs state:
"An INVALID_VALUE error is generated if count or length is negative.
An INVALID_ENUM error is generated if binaryformat is not a supported
format returned in SHADER_BINARY_FORMATS."
Currently, an INVALID_OPERATION error is returned for all cases.
Fixes 1 dEQP test:
* dEQP-GLES3.functional.negative_api.shader.shader_binary
Reviewed-by: Ian Romanick <[email protected]>
Cc: 10.6 <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions