Fix some egl robustness tests

Because the values of color were initially undefined an optimised
compiler can simply set all components of the vector to the value
being assigned to color[u_index] and eventually eliminate color and
u_index completely.

To avoid this we initialise color.

Affects:
dEQP-EGL.functional.robustness.reset_context.shaders*

Components: OpenGL
VK-GL-CTS issue: 2349

Change-Id: I6eb929eec07b039afb247427af91aba65dbade9b
(cherry picked from commit 4392facc87c2da80b5065f8663b9303fb1113e16)
1 file changed
tree: 93ed5d9edf419495b1c0253ab4e9a713fbcfd512
  1. .editorconfig
  2. .gitignore
  3. Android.mk
  4. AndroidGen.mk
  5. CMakeLists.txt
  6. LICENSE
  7. MODULE_LICENSE_APACHE2
  8. NOTICE
  9. OWNERS
  10. README.md
  11. android/
  12. data/
  13. doc/
  14. execserver/
  15. executor/
  16. external/
  17. framework/
  18. modules/
  19. scripts/
  20. targets/
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.