summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2016-05-02 18:17:48 -0700
committerBrian Paul <[email protected]>2016-06-23 07:31:20 -0600
commit2b81e31d4488ada643560a640aa4c0f6372e9ca7 (patch)
treec2d236dbac59cbe5dc7169cb636c1fb759570996 /include/GL
parenta1d74f5528f4bab6679fc08b1a25055336c85089 (diff)
svga: fix vertex buffer references in the hw state
This patch fixes three issues with vertex buffer references: (1) Instead of copy the vertex buffer resource handles to the hw state in the context structure, use pipe_resource_reference to properly reference the vertex buffer resources in the context. (2) Make sure to unbind those unused vertex buffer resources. (3) Force to rebind the vertex buffer resources at the first draw of each command buffer to make sure the vertex buffer resources are paged in. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include/GL')
0 files changed, 0 insertions, 0 deletions