summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-26 15:07:08 -0500
committerZack Rusin <[email protected]>2009-01-27 12:20:26 -0500
commitd6888e811d24eaa7e8d9093be606394f00435c05 (patch)
tree080d4217e5d04c9e3fbeb98a270ab87e63eec6bc /src/gallium/drivers/i965simple
parent2299f21f8da816fc4588492965e7dac422da1a96 (diff)
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/gallium/drivers/i965simple')
-rw-r--r--src/gallium/drivers/i965simple/brw_cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_cc.c b/src/gallium/drivers/i965simple/brw_cc.c
index 6191e73d12d..3668123e2e1 100644
--- a/src/gallium/drivers/i965simple/brw_cc.c
+++ b/src/gallium/drivers/i965simple/brw_cc.c
@@ -233,7 +233,7 @@ static void upload_cc_unit( struct brw_context *brw )
cc.cc3.alpha_test_func =
brw_translate_compare_func(brw->attribs.DepthStencil->alpha.func);
- cc.cc7.alpha_ref.ub[0] = float_to_ubyte(brw->attribs.DepthStencil->alpha.ref);
+ cc.cc7.alpha_ref.ub[0] = float_to_ubyte(brw->attribs.DepthStencil->alpha.ref_value);
cc.cc3.alpha_test_format = BRW_ALPHATEST_FORMAT_UNORM8;
}