summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-10 23:38:31 +0100
committerMarek Olšák <[email protected]>2011-11-11 00:03:52 +0100
commit72c1658554b2d1e90e687340c5db4fec939b3901 (patch)
treec938e129a282b121bd959bc3985db6490cae0d16 /src/gallium/drivers/r600/r600.h
parent3800fe800bfc7faac6e629e584487c5904a5ef2b (diff)
r600g: the type of OCCLUSION_PREDICATE result should be boolean
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 28c1ee15ce3..f04bcae1e51 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -164,7 +164,10 @@ struct r600_range {
};
struct r600_query {
- u64 result;
+ union {
+ uint64_t u64;
+ boolean b;
+ } result;
/* The kind of query */
unsigned type;
/* Offset of the first result for current query */