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:
parent
78fede86d9
commit
4e6ee033ff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue