dEQP-GLES31.functional.ssbo.layout.random.*: Add check for
authorJames Glanville <james.glanville@imgtec.com>
Tue, 12 Feb 2019 14:47:41 +0000 (14:47 +0000)
committerChris Forbes <chrisforbes@google.com>
Thu, 11 Apr 2019 14:13:29 +0000 (07:13 -0700)
commit5b889393d8399c11bf3df6266c3a5414808777b0
treec1f83dad870f55bd6dd9cb84998bf68039cc945b
parentb5dcfb9c5a2f9dc5bb3d043b006ed31d8983cf0f
dEQP-GLES31.functional.ssbo.layout.random.*: Add check for
GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS

Commit 237916d03377a469e30dd36087738b069f83a19a
(gles31:es31fSSBOLayoutTests limit m_maxBlocks and m_maxBlockMembers
for low ram device) disturbs the random number generator for this set
of tests.

This causes:

dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.45

to require implementation support for 9 SSBO binding points, more
than the spec requires.

Fixed by adding check for GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS and
marking this test as unsupported

Bug: b/125134085
Change-Id: I17dc2063675ace06bc7e7763cff8bd46bd397b8c
(cherry picked from commit feb932cf5c3f5d9115c86073693d859667a81361)
modules/gles31/functional/es31fSSBOLayoutCase.cpp