diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-04 23:44:37 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-04 23:44:37 -0700 |
commit | 316b244ff1b18b3916ebd31078ba4c920e9585c1 (patch) | |
tree | f7d7d7e297ba950f17b3ef05aad8de8da7295248 /src/gallium/drivers/r300/r300_state_tcl.h | |
parent | 7cd535b47805cc086783cc4aa857292b5986672e (diff) |
r300-gallium: vs: Moar vert shaders.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_tcl.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_tcl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_tcl.h b/src/gallium/drivers/r300/r300_state_tcl.h index b947f0d1cf..ae8ff6c314 100644 --- a/src/gallium/drivers/r300/r300_state_tcl.h +++ b/src/gallium/drivers/r300/r300_state_tcl.h @@ -69,6 +69,15 @@ (R300_PVS_SRC_SELECT_FORCE_1 << 6) | \ (R300_PVS_SRC_SELECT_FORCE_1 << 9)) << 13) +static const struct tgsi_full_src_register r300_constant_zero = { + .SrcRegister.Extended = TRUE, + .SrcRegister.File = TGSI_FILE_NULL, + .SrcRegisterExtSwz.ExtSwizzleX = TGSI_EXTSWIZZLE_ZERO, + .SrcRegisterExtSwz.ExtSwizzleY = TGSI_EXTSWIZZLE_ZERO, + .SrcRegisterExtSwz.ExtSwizzleZ = TGSI_EXTSWIZZLE_ZERO, + .SrcRegisterExtSwz.ExtSwizzleW = TGSI_EXTSWIZZLE_ZERO, +}; + /* Temporary struct used to hold assembly state while putting together * fragment programs. */ struct r300_vs_asm { |