i965: perf: fix codegen with single operand equation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 14 Apr 2017 07:07:47 +0000 (00:07 -0700)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 19 Jun 2017 21:11:00 +0000 (22:11 +0100)
commita26f8d99a6e00315e00ddb0b05fbb4cb4532c7e1
tree454e1765ef0f6d9d840b04d852563626ec577e4d
parent5f2fe9302cf5f31bd979de85fa38d2b04f6e8259
i965: perf: fix codegen with single operand equation

We did support single value operand equations, but not single variable
operand ones. In particular we were failing on "$Sampler0Bottleneck".

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_oa.py