summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/image.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2015-12-15 18:13:28 +0100
committerRoland Scheidegger <[email protected]>2015-12-16 03:55:14 +0100
commit13c0b1c7808dac7e84c9b3e1d2079f70bb0ade35 (patch)
tree36fdc3cc439fc4c32d789eb15e024f4c2a9a21a2 /src/gallium/state_trackers/va/image.c
parentd7cb1634d2819f6ac2586afe98d80f563e5db7c8 (diff)
draw: don't set start_instance and instance id for pt emit
This just adds confusion, these parameters are used when fetching vertices by translate, but certainly not when emitting hw vertices for drivers, they make no sense there (setting them has no consequences otherwise since there won't be any elements with instance_divisor set). So just set them to 0 (the draw_pipe_vbuf code for emitting vertices when the draw pipeline is run already does exactly that). Also while here do some whitespace cleanup. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/image.c')
0 files changed, 0 insertions, 0 deletions