diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 11:36:26 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 11:36:26 -0400 |
commit | 076e4e3ac1c81086aecb4e70dd30fd5d26ec7bc8 (patch) | |
tree | f8569194384bdf8cebee86b5e4d8ae3a318d80ae /src/r600_textured_videofuncs.c | |
parent | d2c3964fe04be42fe538f36439ed5ffca96e436a (diff) |
R6xx/R7xx: clean up bool const code
3 regs: 1 bit per bool, 32 bools per ps/vs/gs
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r-- | src/r600_textured_videofuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c index 735231b5..3dfe151a 100644 --- a/src/r600_textured_videofuncs.c +++ b/src/r600_textured_videofuncs.c @@ -172,12 +172,12 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) switch(pPriv->id) { case FOURCC_YV12: case FOURCC_I420: - set_bool_const(pScrn, accel_state->ib, 0, 1); + set_bool_consts(pScrn, accel_state->ib, SQ_BOOL_CONST_ps, (1 << 0)); break; case FOURCC_UYVY: case FOURCC_YUY2: default: - set_bool_const(pScrn, accel_state->ib, 0, 0); + set_bool_consts(pScrn, accel_state->ib, SQ_BOOL_CONST_ps, (0 << 0)); break; } |