summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_vertprog.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-21 19:45:06 +0200
committerLuca Barbieri <[email protected]>2010-08-21 20:42:15 +0200
commit587d26fdf9c58503333e4e7603a115881a80260b (patch)
tree013138950f51cdb727fb2cec27b49a01394582d4 /src/gallium/drivers/nvfx/nvfx_vertprog.c
parentfe3c62dd7728f1cab64978d634fd0be4237d3b23 (diff)
nvfx: implement NOP
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_vertprog.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_vertprog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_vertprog.c b/src/gallium/drivers/nvfx/nvfx_vertprog.c
index 98fcc928982..2894532bd19 100644
--- a/src/gallium/drivers/nvfx/nvfx_vertprog.c
+++ b/src/gallium/drivers/nvfx/nvfx_vertprog.c
@@ -567,6 +567,8 @@ nvfx_vertprog_parse_instruction(struct nvfx_context* nvfx, struct nvfx_vpc *vpc,
case TGSI_OPCODE_MUL:
nvfx_vp_emit(vpc, arith(VEC, MUL, dst, mask, src[0], src[1], none));
break;
+ case TGSI_OPCODE_NOP:
+ break;
case TGSI_OPCODE_POW:
tmp = nvfx_src(temp(vpc));
nvfx_vp_emit(vpc, arith(SCA, LG2, tmp.reg, NVFX_VP_MASK_X, none, none, swz(src[0], X, X, X, X)));