r600g: Use virtual address for PIPE_QUERY_SO* in r600_emit_query_end
authorMartin Andersson <g02maran@gmail.com>
Mon, 25 Mar 2013 22:11:34 +0000 (23:11 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Mar 2013 22:18:23 +0000 (18:18 -0400)
commit92855bcc95207252045314b658eb10c6305020bc
tree5a5d60ed97c6e2d9ddd36c47a6aedc533093e4c6
parent634fb837ef7533171cb78f33bebdbacaa4b8511d
r600g: Use virtual address for PIPE_QUERY_SO* in r600_emit_query_end

Virtual address is used for PIPE_QUERY_SO* queries in
r600_emit_query_begin, but not in r600_emit_query_end.

This will trigger a GPU fault when one of those queries is
made and virtual address is enabled.

Note: this is a candidate for the 9.1 branch

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_query.c