mesa: Refactor depth range setting even more
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 6 Nov 2013 05:34:26 +0000 (21:34 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:31:58 +0000 (11:31 -0800)
commit42f916e1507f2a5b3da002936418ffe91925104f
treed1cb055344c8ddf4d084ae6ec2a31a2d006c74a9
parent3eb135d1c72487619ec4ba2338a90b73c7bcda0d
mesa: Refactor depth range setting even more

Create an internal function that just writes data into the depth range.
In future patches this will see more use because we only want to call
dd_function_table::DepthRange once after setting all of the depth ranges
instead of once per depth range.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/viewport.c
src/mesa/main/viewport.h