mesa/src
Juan A. Suarez Romero 87a2d3963a Revert "getteximage: Return correct error value when texure object is not found"
From OpenGL 4.5 spec PDF, section '8.11. Texture Queries', page 236:
  "An INVALID_VALUE error is generated if texture is not the name of
   an existing texture object."

Same wording applies to the compressed version.

But turns out this is a spec bug, and Khronos is fixing it for the next
revisions.

The proposal is to return INVALID_OPERATION in these cases.

This reverts commit 633c959fae.

v2:
- Use _mesa_lookup_texture_err (Samuel Pitoiset)

v3:
- _mesa_lookup_texture_err() already handles texture > 0 (Samuel
Pitoiset)
- Just revert 633c959fae (Juan A. Suarez)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-06-22 18:48:18 +02:00
..
amd radeonsi/gfx9: fix TC-compatible stencil compression 2017-06-19 20:15:36 +02:00
compiler glsl: tidy up int declaration 2017-06-22 20:06:38 +10:00
egl egl: properly count configs 2017-06-22 17:32:31 +01:00
gallium radeonsi/gfx9: enable DCC fast clear 2017-06-22 13:15:27 +02:00
gbm gbm: implement FD import with modifier 2017-06-15 10:43:36 +01:00
getopt
glx egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: FORMAT_FEATURE_TRANSFER_SRC/DST_BIT_KHR not used with VkFormatProperties.bufferFeatures 2017-06-22 13:45:22 +03:00
loader egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
mapi mesa: add KHR_no_error support for glStencilOp() 2017-06-21 08:47:26 +02:00
mesa Revert "getteximage: Return correct error value when texure object is not found" 2017-06-22 18:48:18 +02:00
util mesa/util: add util_dynarray_clear() helper 2017-06-18 14:10:32 +02:00
vulkan Android: vulkan: fix build error due to extra ) 2017-06-08 07:26:04 -05:00
Makefile.am automake: increase the MESA_GIT_SHA1 hash id length from 7 to 10 digits 2017-06-15 13:53:00 -06:00
SConscript