OSDN Git Service

nir: Make bcsel a fully vector operation
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 13 Dec 2014 04:37:04 +0000 (20:37 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:21 +0000 (07:20 -0800)
commitb3fd098e7daa491637d66d03366b67c989937a1f
tree000f2453d4fe1d914008a484811c1c672589d3c8
parent295faf9462cba88250d8581f65611996eba5e389
nir: Make bcsel a fully vector operation

Previously, the condition was a scalar that applied to all components
simultaneously.  As of this commit, the condition is a vector and each
component is switched seperately.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_lower_variables.c
src/glsl/nir/nir_opcodes.h
src/glsl/nir/nir_opt_peephole_select.c
src/glsl/nir/nir_to_ssa.c
src/mesa/drivers/dri/i965/brw_fs_nir.cpp