summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-06-22 14:45:07 -0600
committerBrian Paul <[email protected]>2017-06-30 08:24:27 -0600
commit4f3974d7586070fe72a9ef09d3df3f24b4a49f43 (patch)
tree0483e1db1b330c83075facdf5eeb34b29568a303 /scons
parentadead35320c0afe95f3f170a6047905179f8c6c3 (diff)
svga: change error handling convention for svga_set_stream_output()
In general, the functions which emit commands to the command buffer check for failure and return a PIPE_ERROR_x code. It's up to the caller to flush the buffer and retry the command. But svga_set_stream_output() did its own flushing and the callers never checked the return value (though, it would always be PIPE_OK) in practice. This patch changes svga_set_stream_output() so that it does not call svga_context_flush() when the buffer is full. And we update the callers to check the return value as we do for other functions, like svga_set_shader(). No Piglit regressions. Also tested w/ Nature demo. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions