mesa/src/gallium/auxiliary
Roland Scheidegger 4b9bcf31f4 gallium: add bits for clipping points as tris (d3d-style)
OpenGL does whole-point clipping, that is a large point is either fully
clipped or fully unclipped (the latter means it may extend beyond the
viewport as long as the center is inside the viewport). d3d9 (d3d10 has
no large points) however requires points to be clipped after they are
expanded to a rectangle. (Note some IHVs are known to ignore GL rules at
least with some hw/drivers.)
Hence add a rasterizer bit indicating which way points should be clipped
(some drivers probably will always ignore this), and add the draw interaction
this requires. Drivers wanting to support this and using draw must support
large points on their own as draw doesn't implement vp clipping on the
expanded points (it potentially could but the complexity doesn't seem
warranted), and the driver needs to do viewport scissoring on such points.

Conflicts:

	src/gallium/drivers/llvmpipe/lp_context.c
	src/gallium/drivers/llvmpipe/lp_state_derived.c

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-01-17 17:01:01 +01:00
..
cso_cache cso_context: Fix cso_context::sample_mask initial value. 2014-01-07 16:04:42 +00:00
draw gallium: add bits for clipping points as tris (d3d-style) 2014-01-17 17:01:01 +01:00
gallivm llvmpipe: do constant buffer bounds checking in shaders 2014-01-16 16:33:57 -05:00
hud hud: silence some MSVC warnings 2013-07-12 08:19:52 -06:00
indices indices: add comments, assertions in u_indices.c file 2013-11-15 10:23:48 -07:00
os gallium: fix build on GNU/Hurd due to missing PIPE_OS_HURD detection 2013-11-12 11:57:21 -07:00
pipe-loader pipe_loader/sw: close dev->lib when initialization fails 2013-12-23 07:24:50 -06:00
pipebuffer build: Don't build pipebuffer 2013-01-10 22:01:08 +01:00
postprocess gallium: allow choosing which colorbuffers to clear 2013-12-12 18:48:04 +01:00
rbug rbug: fix make process on Linux Mint 13 x64. 2012-06-14 08:14:59 -06:00
rtasm gallium: fix build on GNU/kFreeBSD 2013-11-06 22:08:26 +01:00
target-helpers gallium: allow debug helpers in the release build 2012-10-06 03:34:40 +02:00
tgsi tgsi: Prevent emission of instructions with empty writemask. 2013-11-22 15:03:36 +00:00
translate translate_sse: Fix generated code argument handling for msabi on x86_64 2013-10-18 14:17:15 +01:00
util gallium/util: easy fixes for NULL colorbuffers 2014-01-13 15:48:08 +01:00
vl swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3) 2013-12-13 14:37:01 +10:00
Android.mk util: Reimplement half <-> float conversions. 2012-06-29 12:21:02 +01:00
Makefile.am build: remove forced -fno-rtti 2013-10-14 23:00:55 -05:00
Makefile.sources gallium/auxiliary/indices: add u_primconvert 2013-10-29 16:49:43 -04:00
SConscript Revert "scons: Fix build when rtti is disabled" 2013-10-16 15:05:51 -07:00