draw: simplify fetch some more
authorRoland Scheidegger <sroland@vmware.com>
Sun, 13 Nov 2016 15:33:20 +0000 (16:33 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 21 Nov 2016 19:02:53 +0000 (20:02 +0100)
commit2471aaa02fc2be0f5fea2df7c7ae6af3aab16b26
tree6ab28e1e41e2641b1c4443872c10bc0a6aab8186
parent4e1be31f01e279c35de09333fc3e3a1e72fad599
draw: simplify fetch some more

Don't keep the ofbit. This is just a minor simplification, just adjust
the buffer size so that there will always be an overflow if buffers aren't
valid to fetch from.
Also, get rid of control flow from the instanced path too. Not worried about
performance, but it's simpler and keeps the code more similar to ordinary
fetch.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c