v3d: Add SSBO/atomic counters support.

So far I assume that all the buffers get written.  If they weren't, you'd
probably be using UBOs instead.
This commit is contained in:
Eric Anholt
2017-12-10 17:11:25 -08:00
parent 6c8edcb89c
commit 5932c2f0b9
9 changed files with 245 additions and 7 deletions

View File

@@ -243,6 +243,12 @@ enum quniform_contents {
QUNIFORM_TEXRECT_SCALE_X,
QUNIFORM_TEXRECT_SCALE_Y,
/* Returns the base offset of the SSBO given by the data value. */
QUNIFORM_SSBO_OFFSET,
/* Returns the size of the SSBO given by the data value. */
QUNIFORM_GET_BUFFER_SIZE,
QUNIFORM_ALPHA_REF,
/**