summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_wm_glsl.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-06 11:56:52 +0000
committerKeith Whitwell <[email protected]>2009-11-06 11:56:52 +0000
commita485341455bb270001aad8b39c7b9fa36ac74478 (patch)
tree2f7de8cbd85d342eded6992a5c77c3ee66d84a70 /src/gallium/drivers/i965/brw_wm_glsl.c
parent381cd2d63f4aae29d478e02dda5a978a668168e1 (diff)
i965g: add dumping for our new pass_fp output
Diffstat (limited to 'src/gallium/drivers/i965/brw_wm_glsl.c')
-rw-r--r--src/gallium/drivers/i965/brw_wm_glsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_glsl.c b/src/gallium/drivers/i965/brw_wm_glsl.c
index 284f819bf89..3b3afc39d3c 100644
--- a/src/gallium/drivers/i965/brw_wm_glsl.c
+++ b/src/gallium/drivers/i965/brw_wm_glsl.c
@@ -558,7 +558,7 @@ static struct brw_reg get_src_reg(struct brw_wm_compile *c,
{
const struct prog_src_register *src = &inst->SrcReg[srcRegIndex];
const GLuint nr = 1;
- const GLuint component = GET_SWZ(src->Swizzle, channel);
+ const GLuint component = BRW_GET_SWZ(src->Swizzle, channel);
/* Extended swizzle terms */
if (component == SWIZZLE_ZERO) {
@@ -598,7 +598,7 @@ static struct brw_reg get_src_reg_imm(struct brw_wm_compile *c,
const struct prog_src_register *src = &inst->SrcReg[srcRegIndex];
if (src->File == TGSI_FILE_IMMEDIATE) {
/* an immediate */
- const int component = GET_SWZ(src->Swizzle, channel);
+ const int component = BRW_GET_SWZ(src->Swizzle, channel);
const GLfloat *param =
c->fp->program.Base.Parameters->ParameterValues[src->Index];
GLfloat value = param[component];