diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-14 04:41:29 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-15 05:05:59 -0800 |
commit | 4e309b5d64e9b0b6da4bd34772af5d949bd4d62f (patch) | |
tree | 51ff9b632d978eace219fe78db0e91912dc34f58 /src/gallium/drivers/r300/r300_cs_inlines.h | |
parent | 39d0ac4826dd71ca7db224a14110017fdadea6fb (diff) |
r300-gallium: Grab bag of goodies.
Some fixes from glisse, moar swtcl emit setup, cleanup a bunch of regs,
properly do clear flush, and BEGIN_CS count fixes.
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs_inlines.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_cs_inlines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_cs_inlines.h b/src/gallium/drivers/r300/r300_cs_inlines.h index 98f9ee0451..16e412f586 100644 --- a/src/gallium/drivers/r300/r300_cs_inlines.h +++ b/src/gallium/drivers/r300/r300_cs_inlines.h @@ -40,5 +40,10 @@ (1 << 18) | (1 << 31)); \ } while (0) +#define R300_SCREENDOOR do { \ + OUT_CS_REG(R300_SC_SCREENDOOR, 0x0); \ + R300_PACIFY; \ + OUT_CS_REG(R300_SC_SCREENDOOR, 0xffffff); \ +} while (0) #endif /* R300_CS_H */ |