OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Jun 2015 12:44:03 +0000 (13:44 +0100)
commit4ab83eee98f48d9b48160da9bbe589750984297e
tree593bbc02a5134e14f53bc470f95051f56a19ec48
parent512927bc021c20235213b8ba4c6ebb5432fecc5e
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>
(cherry picked from commit 36e3eb6a957f8f20ed187ec88a067fc65cb81432)
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp