mesa/src/broadcom
Iago Toral Quiroga 3539bd63dd 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 <eric@anholt.net>
2019-08-13 09:44:54 +02:00
..
cle v3d: use the GPU to record primitives written to transform feedback 2019-08-08 08:36:52 +02:00
clif
common broadcom: Move v3d_get_device_info to common 2019-07-17 20:02:34 +00:00
compiler v3d: clamp gl_PointSize to a minimum of 1.0 2019-08-13 09:44:54 +02:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
qpu meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
.editorconfig
Android.cle.mk
Android.genxml.mk
Android.mk
Makefile.sources
meson.build v3d: Introduce a DRM shim for calling out to the simulator. 2019-07-25 08:56:19 -07:00