mesa/src
Charmaine Lee b4c4ee0762 svga: disable rasterization if rasterizer_discard is set or FS undefined
With this patch, rasterization will be disabled if the
rasterizer_discard flag is set or the fragment shader
is undefined due to missing position output from the
vertex/geometry shader.

Tested with piglit test glsl-1.50-geometry-primitive-id-restart.
Also tested with full MTT glretrace and piglit.

v2: As suggested by Roland, to properly disable rasterization, besides
    setting FS to NULL, we will also need to disable depth and stencil test.

v3: As suggested by Brian, set SVGA_NEW_DEPTH_STENCIL_ALPHA dirty bit
    in svga_bind_rasterizer_state() if the rasterizer_discard flag is
    changed.

Reviewed-by: Brian Paul <brianp@vmware.com>
2017-04-07 13:46:43 -06:00
..
amd radv: don't call radeon_check_space in radv_BindDescriptorSets 2017-04-07 00:54:46 +02:00
compiler glsl: add gl_SubGroup*ARB builtins 2017-04-05 15:25:56 +02:00
egl Android: drop Android 4.4 (KitKat) support 2017-03-22 17:53:31 +00:00
gallium svga: disable rasterization if rasterizer_discard is set or FS undefined 2017-04-07 13:46:43 -06:00
gbm gbm/dri: Check dri extension version before flush after unmap 2017-03-31 10:25:46 +02:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx: Remove #include <GL/glxint.h> 2017-03-28 14:48:12 -04:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv/query: Use snooping on !LLC platforms 2017-04-07 12:17:20 -07:00
loader loader: use drmGetDevice[s]2 API 2017-03-15 11:37:55 +00:00
mapi mesa: add GL_ARB_shader_ballot boilerplate 2017-04-05 15:25:40 +02:00
mesa mesa: fix renderbuffer leak 2017-04-07 19:48:10 +10:00
util util: fix MSVC warning in u_align_u32() 2017-04-03 13:09:05 -06:00
vulkan vulkan/wsi/wayland: Pass damage through to the compositor 2017-04-03 13:51:08 -07:00
Makefile.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00