r600/sb: fix a bug emitting ar load from a constant.
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jan 2018 03:41:57 +0000 (03:41 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jan 2018 03:34:46 +0000 (03:34 +0000)
commit68b976bd91d1a23d2d04f383ab194980b5084970
treee5e945e704d0bb7dd89363233c010070cdffd642
parent7efcafce7c6dd3dc9e71c7d35d6f7ebfd88f106b
r600/sb: fix a bug emitting ar load from a constant.

Some tess shaders were doing MOVA_INT _, c0.x on cayman, and then
hitting an assert in sb_bc_finalize.cpp:translate_kcache.

This makes sure the toplevel kcache tracker gets updated,
and the clause gets fixed up.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_sched.cpp