mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
svga: remove unneeded casts in get_query_result_vgpu9() calls
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
9be122e9b0
commit
2318d2015a
1 changed files with 2 additions and 2 deletions
|
|
@ -1078,7 +1078,7 @@ svga_get_query_result(struct pipe_context *pipe,
|
|||
(void *)&occResult, sizeof(occResult));
|
||||
*result = (uint64_t)occResult.samplesRendered;
|
||||
} else {
|
||||
ret = get_query_result_vgpu9(svga, sq, wait, (uint64_t *)result);
|
||||
ret = get_query_result_vgpu9(svga, sq, wait, result);
|
||||
}
|
||||
break;
|
||||
case PIPE_QUERY_OCCLUSION_PREDICATE: {
|
||||
|
|
@ -1089,7 +1089,7 @@ svga_get_query_result(struct pipe_context *pipe,
|
|||
vresult->b = occResult.anySamplesRendered != 0;
|
||||
} else {
|
||||
uint64_t count;
|
||||
ret = get_query_result_vgpu9(svga, sq, wait, (uint64_t *)&count);
|
||||
ret = get_query_result_vgpu9(svga, sq, wait, &count);
|
||||
vresult->b = count != 0;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue