Since changing the in/out test we can just use INT_MIN to be sure the
comparison against the step values always passes.
const union lp_rast_cmd_arg arg )
{
/* Set c1,c2,c3 to large values so the in/out test always passes */
- const int32_t c1 = INT_MIN/2, c2 = INT_MIN/2, c3 = INT_MIN/2;
+ const int32_t c1 = INT_MIN, c2 = INT_MIN, c3 = INT_MIN;
const struct lp_rast_shader_inputs *inputs = arg.shade_tile;
const unsigned tile_x = rast->tasks[thread_index].x;
const unsigned tile_y = rast->tasks[thread_index].y;
int x, int y )
{
/* Set c1,c2,c3 to large values so the in/out test always passes */
- const int32_t c1 = INT_MIN/2, c2 = INT_MIN/2, c3 = INT_MIN/2;
+ const int32_t c1 = INT_MIN, c2 = INT_MIN, c3 = INT_MIN;
lp_rast_shade_quads(rast_task->rast,
rast_task->thread_index,
&tri->inputs,