summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2016-11-15 10:15:46 -0800
committerBrian Paul <[email protected]>2017-06-27 07:49:02 -0600
commit7abfb0b0d50798a476907d4b2f47db05a314cb49 (patch)
tree75f94ce38b2fe8732fa1d5c4066426319dc380cf /Android.mk
parentb549f5e6b1dfba42b96d4181116715bf218a66dc (diff)
svga: do not unconditionally enable streamout bind flag
Currently we unconditionally enable streamout bind flag at buffer resource creation time. This is not necessary if the buffer is never used as a streamout buffer. With this patch, we enable streamout bind flag as indicated by the state tracker. If the buffer is later bound to streamout and does not already has streamout bind flag enabled, we will recreate the buffer with the new set of bind flags. Buffer content will be copied from the old buffer to the new one. Tested with MTT piglit, Nature, Tropics, Lightsmark. v2: Fix bind flags check as suggested by Brian. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions