Fix the copy-ops part of the ARB_sparse_buffer tests

1. The generic BufferStorageTest framework will allocate a new sparse
   buffer object for each test case, so m_sparse_bos must be updated
   for each iteration.

   For the same reason, the m_sparse_bos array is not yet initialized
   when initTestCases is called. So instead of storing a BO ID in the
   test case description, we store an index into the m_sparse_bos array
   (and the index is only used when the dst/src bo is supposed to be
   sparse).

2. When the same sparse buffer object is used as both source and
   destination, both source and destination commit ranges must
   actually be committed.

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: I8b92e716464d5f602e636480ea53648c216d1e7e
2 files changed
tree: ef9d15cbe737b0830ebec5b7f60300be5652cf91
  1. android/
  2. data/
  3. doc/
  4. execserver/
  5. executor/
  6. external/
  7. framework/
  8. modules/
  9. scripts/
  10. targets/
  11. .editorconfig
  12. .gitignore
  13. Android.mk
  14. AndroidGen.mk
  15. CMakeLists.txt
  16. LICENSE
  17. MODULE_LICENSE_APACHE2
  18. NOTICE
  19. README.md
README.md

dEQP README

This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.

Documentation

Up-to-date documentation for the dEQP is available at Android Open Source Project site.

Khronos Vulkan Conformance Tests

This repository includes Khronos Vulkan CTS under external/vulkancts directory. For more information see Vulkan CTS README.

Khronos OpenGL / OpenGL ES Conformance Tests

This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts directory. For more information see OpenGL / OpenGL ES CTS README.