Kenneth Graunke <kenn...@whitecape.org> writes:

> Broadwell's 3DSTATE_CLEAR_PARAMS packet expects a floating point value
> regardless of format.  This means we need to stop converting it to
> UNORM.
>
> Storing the value as float would make sense, but since we already have a
> uint32_t field, this patch continues shoehorning it into that.  In a
> sense, this makes mt->depth_clear_value the DWord you emit in the
> packet, rather than the clear value itself.
>
> Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpf6viwHqdUV.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to