nvc0/ir: can't have a join on a load with an indirect source
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Jun 2015 02:18:09 +0000 (22:18 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Jun 2015 02:23:20 +0000 (22:23 -0400)
commit36e3eb6a957f8f20ed187ec88a067fc65cb81432
tree193364dfc49eb93777986da3611c5654076f0f6b
parentff06901082b84c91ee64d3a54bf372f0c809f4bf
nvc0/ir: can't have a join on a load with an indirect source

Triggers an INVALID_OPCODE warning on GK208. Seems rare enough to not
warrant verification on other chips. Fixes the new piglits:

  ubo_array_indexing/fs-nonuniform-control-flow.shader_test
  ubo_array_indexing/vs-nonuniform-control-flow.shader_test

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp