Re: [Mesa-dev] [PATCH] i965: Fix fast depth clear values on Broadwell.

2014-02-07 Thread Eric Anholt
Kenneth Graunke 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 shoeho

[Mesa-dev] [PATCH] i965: Fix fast depth clear values on Broadwell.

2014-02-07 Thread Kenneth Graunke
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