diff options
author | Marek Olšák <[email protected]> | 2012-02-02 14:01:12 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-21 21:42:27 +0100 |
commit | e2809849ecac69615ece294a55ee355afaac33d3 (patch) | |
tree | 6773e21ab0f548157a5dc26580af2a0214a94cfa /src/gallium/drivers/nv50 | |
parent | 8f5c172c854a52b2a69b8383a55c76f1faa5f704 (diff) |
r600g: add a depth misc state which depends on occlusion queries
This is a state which is derived from other states and is actually the first
state which doesn't correspond to any gallium state.
There are two state flags:
bool occlusion_query_enabled
bool flush_depthstencil_enabled
Additional flags can be added later if needed, e.g. bool hiz_enabled.
The emit function will have to figure out the register values by itself.
It basically just emits the registers when the state changes.
This commit also adds a few helper functions for writing registers directly
into a command stream.
Diffstat (limited to 'src/gallium/drivers/nv50')
0 files changed, 0 insertions, 0 deletions