[Mesa-dev] [PATCH 1/8] i965/blorp: Align rectangle primitive for hiz ops
Eric Anholt
eric at anholt.net
Tue Apr 9 16:01:12 PDT 2013
Kenneth Graunke <kenneth at whitecape.org> writes:
> From: Chad Versace <chad.versace at linux.intel.com>
>
> The hardware docs and the simulator require that the rectangle primitive
> emitted during fast depth clears and hiz resolves must be aligned to 8x4
> pixels.
>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> ---
> src/mesa/drivers/dri/i965/brw_blorp.cpp | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp
> index 5f72b5d..ed966c6 100644
> --- a/src/mesa/drivers/dri/i965/brw_blorp.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp
> @@ -181,6 +181,35 @@ brw_hiz_op_params::brw_hiz_op_params(struct intel_mipmap_tree *mt,
> this->hiz_op = op;
>
> depth.set(mt, level, layer);
> +
> + /* Align the rectangle primitive to 8x4 pixels.
^ and surface state.
Same content as my patch, so:
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130409/03bce767/attachment.pgp>
More information about the mesa-dev
mailing list