OSDN Git Service

i965: Remove remaining uses of ctx->Const.UniformBooleanTrue in visitors
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Apr 2015 00:39:25 +0000 (17:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Apr 2015 23:00:33 +0000 (16:00 -0700)
commit73bf8f3d6b6b571175c5ce324b44fef26915875f
treec810f27f01ca531381c6428e98681a493bd147cb
parent2bf207b47347ec1c672448e3019029f899a5d3b5
i965: Remove remaining uses of ctx->Const.UniformBooleanTrue in visitors

Since commit 2881b123, we have used 0/~0 for representing booleans on all
gens.  However, we still had a bunch of places in the visitor code where we
were still referring to ctx->Const.UniformBooleanTrue.  Since this is
always ~0, we can just remove them.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp