diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2007-04-12 09:43:00 +0800 |
---|---|---|
committer | Zou Nan hai <nanhai.zou@intel.com> | 2007-04-12 09:43:00 +0800 |
commit | 35707dbe57873adb5a8088cd47c13bd216e143e4 (patch) | |
tree | bfa296dcb0818f474d69ebc66afc2546e175a0cd /src/mesa/drivers/dri/i965/brw_vs_tnl.c | |
parent | bce7043ebcbb75cec727553341af4c66b03732ef (diff) |
Initial 965 GLSL support
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_tnl.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_tnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_tnl.c b/src/mesa/drivers/dri/i965/brw_vs_tnl.c index 35adc4846a..bc0526fab6 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_tnl.c +++ b/src/mesa/drivers/dri/i965/brw_vs_tnl.c @@ -855,7 +855,7 @@ static struct ureg calculate_light_attenuation( struct tnl_program *p, struct ureg slt = get_temp(p); emit_op2(p, OPCODE_DP3, spot, 0, ureg_negate(VPpli), spot_dir_norm); - emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot); + emit_op2(p, OPCODE_SLT, slt, 0, spot, swizzle1(spot_dir_norm,W)); emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); emit_op2(p, OPCODE_MUL, att, 0, slt, spot); |