mesa/src/broadcom/compiler
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
..
meson.build v3d: add lowering for OpenGL logic operations 2019-07-12 09:16:38 +02:00
nir_to_vir.c v3d: line length style fixes 2019-08-13 08:38:19 +02:00
qpu_schedule.c v3d: Avoid scheduling an instruction that stalls waiting for SFU retval 2019-07-22 03:00:50 +02:00
qpu_validate.c broadcom/vc5: Add validation that we don't violate GFXH-1633 requirements. 2018-04-26 11:30:22 -07:00
v3d33_tex.c v3d: prefer using nir_src_comp_as_int over nir_src_as_const_value 2019-04-07 15:13:36 +02:00
v3d33_vpm_setup.c broadcom/vc5: Move V3D 3.3 VPM write setup to a separate file. 2018-01-12 21:56:24 -08:00
v3d40_tex.c v3d: use inc/dec tmu operation with image atomic sub/add of 1 2019-07-12 11:51:22 +02:00
v3d_compiler.h v3d: add shader-db stat to count SFU stalls 2019-07-22 03:00:50 +02:00
v3d_nir_lower_image_load_store.c v3d: Fix image_load_store clamping of signed integer stores. 2019-01-31 08:39:40 -08:00
v3d_nir_lower_io.c v3d: Move the stores for fixed function VS output reads into NIR. 2019-03-05 10:59:40 -08:00
v3d_nir_lower_logic_ops.c v3d: emit correct lowering for logic operations with MSAA render targets 2019-07-18 08:59:35 +02:00
v3d_nir_lower_scratch.c v3d: Use the new lower_to_scratch implementation for indirects on temps. 2019-04-12 16:16:58 -07:00
v3d_nir_lower_txf_ms.c v3d: Use nir_shader_lower_instructions() for txf_ms lowering. 2019-07-18 11:28:56 -07:00
vir.c v3d: clamp gl_PointSize to a minimum of 1.0 2019-08-13 09:44:54 +02:00
vir_dump.c v3d: Add missing dumping for the spill offset/size uniforms. 2019-04-12 15:59:31 -07:00
vir_live_variables.c v3d: Stop treating exec masking specially. 2019-03-05 07:36:24 -08:00
vir_opt_copy_propagate.c v3d: Use ldunif instructions for uniforms. 2019-03-05 12:57:39 -08:00
vir_opt_dead_code.c v3d: Drop the V3D 3.x vpm read dead code elimination. 2019-03-05 12:57:39 -08:00
vir_opt_redundant_flags.c v3d: fix checking twice auf flag 2019-06-13 11:45:18 +02:00
vir_opt_small_immediates.c v3d: Use ldunif instructions for uniforms. 2019-03-05 12:57:39 -08:00
vir_register_allocate.c v3d: Fix detection of TMU write sequences in register spilling. 2019-04-26 12:42:30 -07:00
vir_to_qpu.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00