projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: add new double-related shader caps to all the getters
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_query.c
diff --git
a/src/gallium/drivers/i915/i915_query.c
b/src/gallium/drivers/i915/i915_query.c
index c886df74bad5564687d9e03e3c2be16a9d1baa16..1500d970b0ff739dc48a8b1d8654ed4c1b486225 100644
(file)
--- a/
src/gallium/drivers/i915/i915_query.c
+++ b/
src/gallium/drivers/i915/i915_query.c
@@
-40,7
+40,8
@@
struct i915_query
};
static struct pipe_query *i915_create_query(struct pipe_context *ctx,
};
static struct pipe_query *i915_create_query(struct pipe_context *ctx,
- unsigned query_type)
+ unsigned query_type,
+ unsigned index)
{
struct i915_query *query = CALLOC_STRUCT( i915_query );
{
struct i915_query *query = CALLOC_STRUCT( i915_query );
@@
-65,7
+66,7
@@
static void i915_end_query(struct pipe_context *ctx, struct pipe_query *query)
static boolean i915_get_query_result(struct pipe_context *ctx,
struct pipe_query *query,
boolean wait,
static boolean i915_get_query_result(struct pipe_context *ctx,
struct pipe_query *query,
boolean wait,
-
void
*vresult)
+
union pipe_query_result
*vresult)
{
uint64_t *result = (uint64_t*)vresult;
{
uint64_t *result = (uint64_t*)vresult;