tgsi: add missing switch cases in tgsi_exec_get_shader_param()
authorBrian Paul <brianp@vmware.com>
Mon, 5 May 2014 16:18:49 +0000 (10:18 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 May 2014 17:32:11 +0000 (11:32 -0600)
commit9b1ae44ae114d0e2ee74e3e8d0ed0bd7ad983c9a
tree2be80141a3a74fe57a102229de8bc9aa62a6e14e
parentbaec25635df21884755d05451d8b577841a77cfc
tgsi: add missing switch cases in tgsi_exec_get_shader_param()

Add cases for PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS and
PIPE_SHADER_CAP_PREFERRED_IR.  Remove default switch case so we
learn of missing cases at compile time.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.h