aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl_dd/t_dd_tritmp.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-06-28 16:53:46 +0200
committerRoland Scheidegger <[email protected]>2013-06-29 16:58:02 +0200
commit7d430bfab98f3639cb9d354d1d42f3c0ec5a9e76 (patch)
tree094dee37d9d4b21208747374f698a5a9ae2c32f8 /src/mesa/tnl_dd/t_dd_tritmp.h
parent5a925cc5504575c22dbb7d29842d7fc5babcb5c7 (diff)
llvmpipe: fix timer query if there's no bins
b04a295a4a0cd2defe352b3193b5fa79ca8fc9fc removed seemingly unnecessary code in get_query. Turns out this code could in fact be reached - while timestamps are always binned, if there are no bins (which happens if fb size is 0) then the rasterization query code filling this in is still never executed. So fix this up by filling in some timestamp, but do it at EndQuery time not GetQuery time which should be more appropriate. Makes piglit arb_timer_query-timestamp-get happy again. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/tnl_dd/t_dd_tritmp.h')
0 files changed, 0 insertions, 0 deletions