summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_reg.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-09-24 22:46:51 +0200
committerChristoph Bumiller <[email protected]>2010-09-25 19:37:09 +0200
commit2ef1d759b34fb6e9795d70a7c7b6c6c274c64bf8 (patch)
tree6c751bafd77caec0ac1649da6715f01d575eccf5 /src/gallium/drivers/nv50/nv50_reg.h
parent583bbfb3aed3ded6ca060155c1ebbd4f39138a31 (diff)
nv50: use CLEAR_BUFFERS for surface fills
The 2D engine's fill doesn't seem suited for RGBA32F or ZS buffers.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_reg.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_reg.h b/src/gallium/drivers/nv50/nv50_reg.h
index 365576fdd07..949838b33f5 100644
--- a/src/gallium/drivers/nv50/nv50_reg.h
+++ b/src/gallium/drivers/nv50/nv50_reg.h
@@ -1018,6 +1018,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV50TCL_FP_START_ID 0x00001414
#define NV50TCL_GP_VERTEX_OUTPUT_COUNT 0x00001420
#define NV50TCL_VB_ELEMENT_BASE 0x00001434
+#define NV50TCL_CLEAR_FLAGS 0x0000143c
+#define NV50TCL_CLEAR_FLAGS_OGL (1 << 0)
+#define NV50TCL_CLEAR_FLAGS_D3D (1 << 4)
#define NV50TCL_INSTANCE_BASE 0x00001438
#define NV50TCL_CODE_CB_FLUSH 0x00001440
#define NV50TCL_BIND_TSC(x) (0x00001444+((x)*8))