summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-02-14 01:27:19 -0500
committerIlia Mirkin <[email protected]>2015-02-14 17:15:54 -0500
commit80d373ed5b1d90a5e71747ee5b8951baac62f750 (patch)
tree6fa73d45f873d1e18d8e3058a4fef31db500b787 /src/gallium
parent68e4f3f572b1e629f32a73ae618dc0b016f631b1 (diff)
st/mesa: treat resource-less xfb buffers as if they weren't there
If a transform feedback buffer's size is 0, st_bufferobj_data doesn't end up creating a buffer for it. There's no point in trying to write to such a buffer, so just pretend as if it's not really there. This fixes arb_gpu_shader5-xfb-streams-without-invocations on nvc0. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Cc: "10.4 10.5" <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions