mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 13 Nov 2013 23:24:56 +0000 (16:24 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:31:53 +0000 (11:31 -0800)
commit5b84226c31e941219422f6d60c31524081b7a188
treeddebed7b00cfdb732f4f252907998eea5c4202cf
parentd4dc359875126c432e46e3d1da8610a066d21302
mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float

v4: Split out from a single megapatch.  Suggested by Ken.  Also make
meta's save_state::ViewportX, ::ViewportY, ::ViewportW, and ::ViewportH
to match gl_viewport_attrib.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
12 files changed:
src/mesa/drivers/common/meta.c
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen6_viewport_state.c
src/mesa/drivers/dri/i965/gen7_viewport_state.c
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h
src/mesa/math/m_matrix.c
src/mesa/math/m_matrix.h
src/mesa/state_tracker/st_atom_viewport.c
src/mesa/swrast/s_context.c