Differentiate shader storage blocks needed for VS and FS
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 18 Jun 2019 08:43:58 +0000 (10:43 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Jun 2019 12:14:56 +0000 (08:14 -0400)
commita73ad78946c44a0bffe62e15a0ed082ce1317bbd
tree29730c6a7d3e653272a551d31472777b37fdcf36
parenta95b54ba30ffd6c041a9dcecf8a0f17cafb350f2
Differentiate shader storage blocks needed for VS and FS

Opengl ES shader image load/store tests includes tests for VS and FS,
and it uses SSB for checking the outcome. But right now, when checking
if supported, it checks for the same required value on VS and FS
shaders, even if the test only requires for one or the other. This
leads to some unneeded skips on some drivers (for example, in some
drivers where the supported SSB for VS are 0, but it is supported for
FS).

This commit changes the method that checks the required SSB needed in
order to pass two required parameters (one for VS, other for FS),
instead of one common. This is what it is already done for image
uniforms.

Components: OpenGL-ES

VK-GL-CTS issue: 1834

Affects:
KHR-GLES31.core.shader_image_load_store.*

Change-Id: I30dda05f1f670a779fc8f08c331245559896dd0d
external/openglcts/modules/gles31/es31cShaderImageLoadStoreTests.cpp