[Mesa-dev] [PATCH 02/12] glsl: Add ir_triop_vector_insert

2013-05-03 Thread Ian Romanick
From: Ian Romanick The new opcode is used to generate a new vector with a single field from the source vector replaced. This will eventually replace ir_dereference_array of vectors in the LHS of assignments. v2: Convert tabs to spaces. Suggested by Eric. v3: Add constant expression handling f

[Mesa-dev] [PATCH 02/12] glsl: Add ir_triop_vector_insert

2013-04-08 Thread Ian Romanick
From: Ian Romanick The new opcode is used to generate a new vector with a single field from the source vector replaced. This will eventually replace ir_dereference_array of vectors in the LHS of assignments. Signed-off-by: Ian Romanick --- src/glsl/ir.cpp | 1 + src/glsl/ir.h