summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x/gd3d1x
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-10-15 16:44:04 +0200
committerChristoph Bumiller <[email protected]>2011-10-20 18:03:54 +0200
commit55c5ad8dfa68c18589f19fba2d1bfecd425785c9 (patch)
treeded3ad92b27ba7ed2d3144d4ca0e61128f898cff /src/gallium/state_trackers/d3d1x/gd3d1x
parent1f4f0c41db2eb81e858475f6677995c9e15ec03f (diff)
d3d1x: make use of new query types
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/gd3d1x')
-rw-r--r--src/gallium/state_trackers/d3d1x/gd3d1x/d3d_enums.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gallium/state_trackers/d3d1x/gd3d1x/d3d_enums.cpp b/src/gallium/state_trackers/d3d1x/gd3d1x/d3d_enums.cpp
index 853d11410df..b8b36765596 100644
--- a/src/gallium/state_trackers/d3d1x/gd3d1x/d3d_enums.cpp
+++ b/src/gallium/state_trackers/d3d1x/gd3d1x/d3d_enums.cpp
@@ -85,21 +85,21 @@ unsigned d3d11_to_pipe_query[D3D11_QUERY_COUNT] =
{
PIPE_QUERY_GPU_FINISHED,
PIPE_QUERY_OCCLUSION_COUNTER,
- PIPE_QUERY_TIME_ELAPSED,
+ PIPE_QUERY_TIMESTAMP,
PIPE_QUERY_TIMESTAMP_DISJOINT,
- 0, /* D3D11_QUERY_PIPELINE_STATISTICS */
- PIPE_QUERY_OCCLUSION_COUNTER,
+ PIPE_QUERY_PIPELINE_STATISTICS,
+ PIPE_QUERY_OCCLUSION_PREDICATE,
PIPE_QUERY_SO_STATISTICS,
- 0, /* D3D11_QUERY_SO_OVERFLOW_PREDICATE */
+ PIPE_QUERY_SO_OVERFLOW_PREDICATE,
/* per-stream SO queries */
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
+ PIPE_QUERY_TYPES,
};
unsigned d3d11_query_size[D3D11_QUERY_COUNT] =
@@ -108,7 +108,7 @@ unsigned d3d11_query_size[D3D11_QUERY_COUNT] =
sizeof(UINT64),
sizeof(UINT64),
sizeof(UINT64),
- 0,
+ sizeof(D3D11_QUERY_DATA_PIPELINE_STATISTICS),
sizeof(BOOL),
sizeof(D3D11_QUERY_DATA_SO_STATISTICS),
0,