mesa/src/gallium/auxiliary/draw
Dave Airlie 384c8677f5 draw/gs: handle extra shader outputs in geometry.
When geometry shader is used with unfilled lines and front face,
we don't handle the extra shader output.

Instead of taking the output from the gs, ask draw for the total
which should give the correct answer.

Fixes a test program attached to:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/8644

Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23943>
2023-06-30 22:59:01 +00:00
..
draw_cliptest_tmp.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_context.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_context.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_decompose_tmp.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_fs.c aux: remove unused tgsi includes 2023-05-25 08:20:31 +00:00
draw_fs.h
draw_gs.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_gs.h gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings. 2023-06-08 02:10:54 +00:00
draw_gs_tmp.h treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_llvm.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_llvm.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_mesh.c draw: add mesh shader infrastructure 2023-06-06 05:01:46 +10:00
draw_mesh.h draw: add mesh shader infrastructure 2023-06-06 05:01:46 +10:00
draw_mesh_prim.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_mesh_prim.h draw: add a mesh primitive assembler. 2023-06-06 05:01:46 +10:00
draw_mesh_prim_tmp.h treewide: style fixes after replace usage of boolean to bool 2023-06-27 18:18:28 +08:00
draw_pipe.c treewide: style fixes after replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:30 +08:00
draw_pipe.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
draw_pipe_aaline.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pipe_aapoint.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pipe_clip.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pipe_cull.c draw: asst. clean-ups in draw_pipe_cull.c 2022-10-11 20:04:36 +00:00
draw_pipe_flatshade.c draw: use unsigned instead of uint 2023-06-26 09:30:22 +00:00
draw_pipe_offset.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_pipe_pstipple.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pipe_stipple.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pipe_twoside.c draw: asst. clean-ups in draw_pipe_twoside.c 2022-10-11 20:04:36 +00:00
draw_pipe_unfilled.c treewide: style fixes after replace usage of boolean to bool 2023-06-27 18:18:28 +08:00
draw_pipe_user_cull.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_pipe_util.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pipe_validate.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pipe_vbuf.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pipe_wide_line.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pipe_wide_point.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_prim_assembler.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_prim_assembler.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_prim_assembler_tmp.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_private.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pt.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pt.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
draw_pt_decompose.h treewide: style fixes after replace usage of boolean to bool 2023-06-27 18:18:28 +08:00
draw_pt_emit.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pt_fetch.c draw: use stdint.h types 2023-06-26 09:30:22 +00:00
draw_pt_fetch_shade_emit.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pt_fetch_shade_pipeline.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_pt_fetch_shade_pipeline_llvm.c draw/gs: handle extra shader outputs in geometry. 2023-06-30 22:59:01 +00:00
draw_pt_mesh_pipeline.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pt_post_vs.c treewide: style fixes after replace usage of boolean to bool 2023-06-27 18:18:28 +08:00
draw_pt_so_emit.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_pt_util.c compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
draw_pt_vsplit.c draw: Update the comment and function name to match the type 2023-06-24 20:52:56 +08:00
draw_pt_vsplit_tmp.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_so_emit_tmp.h treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_split_tmp.h compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
draw_tess.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_tess.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
draw_vbuf.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
draw_vertex.c draw: asst. clean-ups in draw_vertex.[ch] 2022-10-11 20:04:36 +00:00
draw_vertex.h draw/i915: move hwfmt array to i915 specific struct 2023-06-28 13:42:44 +00:00
draw_vertex_header.h gallivm/draw: refactor vertex header jit type out 2023-05-23 14:39:32 +00:00
draw_vs.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
draw_vs.h gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings. 2023-06-08 02:10:54 +00:00
draw_vs_exec.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
draw_vs_llvm.c gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings. 2023-06-08 02:10:54 +00:00
draw_vs_variant.c draw: refactor resources to use arrays instead of explicit structs. 2023-06-08 02:10:54 +00:00