freedreno/a2xx: fix POINT_MINMAX_MAX overflow

As it stands, it overflows to zero.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Jonathan Marek 2018-11-13 11:17:48 -05:00 committed by Rob Clark
parent 78fede86d9
commit 4e6ee033ff
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ fd2_rasterizer_state_create(struct pipe_context *pctx,
if (cso->point_size_per_vertex) {
psize_min = util_get_min_point_size(cso);
psize_max = 8192;
psize_max = 8192.0 - 0.0625;
} else {
/* Force the point size to be as if the vertex output was disabled. */
psize_min = cso->point_size;