i965/fs: Ignore compute shaders in brw_nir_lower_inputs
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 14 Oct 2015 18:33:03 +0000 (11:33 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 14 Oct 2015 20:16:30 +0000 (13:16 -0700)
commit0d1eef536bc744f5c4dcdf854ad6adfdfe4f4dcb
tree593a0a4d11788291e2fe85dc87f3232429538a7b
parent63728dac57c18df0f45bb2482f60188fac2d1efe
i965/fs: Ignore compute shaders in brw_nir_lower_inputs

The commit shown below caused compute shaders to hit the unreachable
in the default of the switch block. Since compute shaders don't have
any inputs, we can make brw_nir_lower_inputs a no-op for CS.

commit 2953c3d76178d7589947e6ea1dbd902b7b02b3d4
Author: Kenneth Graunke <kenneth@whitecape.org>
Date:   Fri Aug 14 15:15:11 2015 -0700

    i965/vs: Map scalar VS input locations properly; avoid tons of MOVs.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_nir.c