v3d: Disable SSBOs and atomic counters on vertex shaders.
authorEric Anholt <eric@anholt.net>
Mon, 22 Apr 2019 18:24:55 +0000 (11:24 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 25 Apr 2019 00:24:11 +0000 (17:24 -0700)
commitd23b47fda57f63607a134f0ae31397c4ff983ec1
tree69e60a742fe4a18d0ed82194d1ba1994482cc504
parent97316d378379d6d440f285fdccd81e9d08b3397c
v3d: Disable SSBOs and atomic counters on vertex shaders.

The CTS fails on
dEQP-GLES31.functional.shaders.opaque_type_indexing.atomic_counter.*vertex
when they are enabled, due to the VS being run for both bin and render.  I
think this behavior is expected to be valid, but I can't find text in
atomic counters or SSBO specs saying so (the closed I found was in
shader_image_load_store).  Just disable it for now, since the closed
source driver doesn't expose vertex atomic counters/SSBOs either.
src/gallium/drivers/v3d/v3d_screen.c