Kenneth Graunke <[email protected]> writes:

> From: Chad Versace <[email protected]>
>
> 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 <[email protected]>
> ---
>  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 <[email protected]>

Attachment: pgpeXTk3JPdC0.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to