[Mesa-dev] [PATCH] i965/clear: Quantize the depth clear value based on the format

2017-08-19 Thread Jason Ekstrand
In f9fd976e8adba733b08d we changed the clear value to be stored as an isl_color_value. This had the side-effect same clear value check is now happening directly between the f32[0] field of the isl_color_value and ctx->Depth.Clear. This isn't what we want for two reasons. One is that the comparis

[Mesa-dev] [PATCH] i965/clear: Quantize the depth clear value based on the format

2017-08-19 Thread Jason Ekstrand
In f9fd976e8adba733b08d we changed the clear value to be stored as an isl_color_value. This had the side-effect same clear value check is now happening directly between the f32[0] field of the isl_color_value and ctx->Depth.Clear. This isn't what we want for two reasons. One is that the comparis

Re: [Mesa-dev] [PATCH] i965/clear: Quantize the depth clear value based on the format

2017-08-21 Thread Kenneth Graunke
On Saturday, August 19, 2017 8:56:06 PM PDT Jason Ekstrand wrote: > In f9fd976e8adba733b08d we changed the clear value to be stored as an > isl_color_value. This had the side-effect same clear value check is now > happening directly between the f32[0] field of the isl_color_value and > ctx->Depth.