summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_fs.c
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2011-06-15 08:00:53 -0700
committerTom Stellard <tstellar@gmail.com>2011-09-16 17:35:46 -0700
commite945fb04d04c33da5e77d22d739c5740a522a61e (patch)
tree0665be036c5a639b30a0a5707ca94c35a63e38df /src/gallium/drivers/r300/r300_fs.c
parent1e5aaaa138d87a3e3bc53f6e4c18b1842b752dea (diff)
downloadexternal_mesa3d-e945fb04d04c33da5e77d22d739c5740a522a61e.zip
external_mesa3d-e945fb04d04c33da5e77d22d739c5740a522a61e.tar.gz
external_mesa3d-e945fb04d04c33da5e77d22d739c5740a522a61e.tar.bz2
r300/compiler: Add support for the output modifier (OMOD)
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 6f21125..320f398 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -456,6 +456,7 @@ static void r300_translate_fragment_shader(
compiler.Base.disable_optimizations = DBG_ON(r300, DBG_NO_OPT);
compiler.Base.has_half_swizzles = TRUE;
compiler.Base.has_presub = TRUE;
+ compiler.Base.has_omod = TRUE;
compiler.Base.max_temp_regs =
compiler.Base.is_r500 ? 128 : (compiler.Base.is_r400 ? 64 : 32);
compiler.Base.max_constants = compiler.Base.is_r500 ? 256 : 32;