diff options
author | Marek Olšák <[email protected]> | 2018-10-17 12:26:54 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-10-18 16:08:56 -0400 |
commit | 77bcbe712e5224043101bdfc19aee7038bc8b0ee (patch) | |
tree | e6817f8e66a8e679e93bdd604638ca64557536af /src/gallium/drivers/radeonsi/si_state.c | |
parent | eae8f49fc65e6e625f5e05d38c3bf1b61b84bd3d (diff) |
radeonsi: clamp point size to the limit
This fixes dEQP-GLES2.functional.rasterization.limits.points.
Broken by: ea039f789d9b54e1bd1d644b6a29863ca3500314
Tested-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 8b2e6e57f45..176ec749148 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -898,7 +898,7 @@ static void *si_create_rs_state(struct pipe_context *ctx, if (state->point_size_per_vertex) { psize_min = util_get_min_point_size(state); - psize_max = 8192; + psize_max = SI_MAX_POINT_SIZE; } else { /* Force the point size to be as if the vertex output was disabled. */ psize_min = state->point_size; |