diff options
author | Jonathan Marek <[email protected]> | 2018-11-13 11:17:48 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-11-27 15:44:03 -0500 |
commit | 4e6ee033ff3cf03ad459342f1e590e7d814acd12 (patch) | |
tree | dcafd5f511a043179f40799e9fcde4460756f079 /src | |
parent | 78fede86d998b2c26aff237224ec6214bbddd4d3 (diff) |
freedreno/a2xx: fix POINT_MINMAX_MAX overflow
As it stands, it overflows to zero.
Signed-off-by: Jonathan Marek <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_rasterizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_rasterizer.c b/src/gallium/drivers/freedreno/a2xx/fd2_rasterizer.c index f35fddc09f1..a81f63b5705 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_rasterizer.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_rasterizer.c @@ -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; |