diff options
author | Iago Toral Quiroga <[email protected]> | 2019-07-31 09:50:34 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2019-08-13 09:44:54 +0200 |
commit | 3539bd63dd04209317fb158b270033f32f75dcc4 (patch) | |
tree | 5c7236d74c29f5146f228ee20a32dce619bf435a /appveyor.yml | |
parent | 48f5c34301e9f03a18b928251180c82b8c7571d1 (diff) |
v3d: clamp gl_PointSize to a minimum of 1.0
The OpenGL ES spec requires that the value of gl_PointSize is clamped
to an implementation-dependent range matching what is advertised by
GL_ALIASED_POINT_SIZE_RANGE. For V3D this is [1.0, 512.0], but the
hardware won't clamp to the minimum side of the range and won't render
points with a size strictly smaller than 1.0 either, so we need to
clamp manually. For points larger than the maximum size of the range
the hardware clamps automatically.
Fixes piglit test:
spec/!opengl 2.0/vs-point_size-zero
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions