[Mesa-dev] [PATCH 0/2] A couple of fixes related to glGetTextureImage

Eduardo Lima Mitev elima at igalia.com
Wed Nov 23 16:10:21 UTC 2016


This mini-series addresses a couple of issues I found while fixing CTS test
'GL45-CTS.direct_state_access.textures_image_query_errors' on i965/BDW, which
currently crashes the driver.

There is a little issue with the test itself, for which I submitted a fix too,
but these two patches should get everything ready on Mesa's side to pass
the test.

cheers,
Eduardo

Eduardo Lima Mitev (2):
  main/texobj: Check that texture id > 0 before looking it up in
    hash-table
  mesa/getteximage: Add validation of target to glGetTextureImage

 src/mesa/main/texgetimage.c | 5 +++++
 src/mesa/main/texobj.c      | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

-- 
2.10.2



More information about the mesa-dev mailing list