Re: [Mesa-dev] [PATCH 01/12] glsl: Add ir_binop_vector_extract

2013-05-05 Thread Kenneth Graunke
On 05/03/2013 04:07 PM, Ian Romanick wrote: From: Ian Romanick The new opcode is used to get a single field from a vector. The field index may not be constant. This will eventually replace ir_dereference_array of vectors. This is similar to the extractelement instruction in LLVM IR. http://

[Mesa-dev] [PATCH 01/12] glsl: Add ir_binop_vector_extract

2013-05-03 Thread Ian Romanick
From: Ian Romanick The new opcode is used to get a single field from a vector. The field index may not be constant. This will eventually replace ir_dereference_array of vectors. This is similar to the extractelement instruction in LLVM IR. http://llvm.org/docs/LangRef.html#extractelement-inst

Re: [Mesa-dev] [PATCH 01/12] glsl: Add ir_binop_vector_extract

2013-04-29 Thread Ian Romanick
On 04/27/2013 08:43 AM, Kenneth Graunke wrote: On 04/08/2013 03:24 PM, Ian Romanick wrote: From: Ian Romanick The new opcode is used to get a single field from a vector. The field index may not be constant. This will eventually replace ir_dereference_array of vectors. This is similar to the

Re: [Mesa-dev] [PATCH 01/12] glsl: Add ir_binop_vector_extract

2013-04-27 Thread Kenneth Graunke
On 04/08/2013 03:24 PM, Ian Romanick wrote: From: Ian Romanick The new opcode is used to get a single field from a vector. The field index may not be constant. This will eventually replace ir_dereference_array of vectors. This is similar to the extractelement instruction in LLVM IR. http://

[Mesa-dev] [PATCH 01/12] glsl: Add ir_binop_vector_extract

2013-04-08 Thread Ian Romanick
From: Ian Romanick The new opcode is used to get a single field from a vector. The field index may not be constant. This will eventually replace ir_dereference_array of vectors. This is similar to the extractelement instruction in LLVM IR. http://llvm.org/docs/LangRef.html#extractelement-inst