i965: Convert scalar_* flags to a scalar_stage array.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Nov 2015 21:32:13 +0000 (13:32 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Nov 2015 00:24:44 +0000 (16:24 -0800)
commit44d6c0c805d2911cc5dfe853e5bc5a505f87775f
tree1a6dc97e37963b7ceb973cc46a09fc1618f86dfc
parenta2611ffe4b5f1852c59301f086b988233a1c62f3
i965: Convert scalar_* flags to a scalar_stage array.

I was going to add scalar_tcs and scalar_tes flags, and then thought
better of it and decided to convert this to an array.  Simpler.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_link.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c