From: Ian Romanick
Lower ir_binop_vector_extract with a non-constant index to a series of
conditional moves. This is exactly like ir_dereference_array of a
vector with a non-constant index.
v2: Convert tabs to spaces. Suggested by Eric.
Signed-off-by: Ian Romanick
Reviewed-by: Eric Anholt
-
From: Ian Romanick
Lower ir_binop_vector_extract with a non-constant index to a series of
conditional moves. This is exactly like ir_dereference_array of a
vector with a non-constant index.
Signed-off-by: Ian Romanick
---
src/glsl/lower_vec_index_to_cond_assign.cpp | 45 ++