mesa/src/gallium/auxiliary/draw
Brian Paul 11938c87a3 draw/llvm: set draw->pt.user.planes field in draw_set_clip_state()
Previously it was getting set in draw_set_mapped_constant_buffer() but
if there were no shader constants, that function wasn't called.  So the
pt.user.planes field was null and we died when we tried to access the
clip planes in the LLVM-generated code.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41663

Note: This is a candidate for the 7.11 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
2011-10-11 07:41:36 -06:00
..
draw_cliptest_tmp.h draw: add support for guard-band clipping 2011-09-22 08:26:40 -06:00
draw_context.c draw/llvm: set draw->pt.user.planes field in draw_set_clip_state() 2011-10-11 07:41:36 -06:00
draw_context.h draw: Never allocate duplicate extra vertex attribs. 2011-09-25 11:04:31 +01:00
draw_decompose_tmp.h drwa: Fix polygon edge flags. 2010-08-16 22:01:57 +08:00
draw_fs.c draw: new draw_fs.[ch] files 2010-09-21 10:07:52 -06:00
draw_fs.h draw: new draw_fs.[ch] files 2010-09-21 10:07:52 -06:00
draw_gs.c draw: Remove DRAW_PIPE_MAX_VERTICES and DRAW_PIPE_FLAG_MASK. 2010-08-16 20:57:08 +08:00
draw_gs.h gallium: implement bounds checking for constant buffers 2010-07-29 17:25:54 -06:00
draw_gs_tmp.h draw: last_vertex_last is always true for GS and SO. 2010-08-16 20:46:29 +08:00
draw_llvm.c draw/llvm: fix hard-coded number of total clip planes 2011-10-11 07:41:22 -06:00
draw_llvm.h draw/llvm: fix hard-coded number of total clip planes 2011-10-11 07:41:22 -06:00
draw_llvm_sample.c llvmpipe: Take the sampler view's first_level into account when sampling. 2011-04-08 04:47:04 +02:00
draw_llvm_translate.c gallivm/llvmpipe: squash merge of the llvm-context branch 2010-11-30 16:35:12 -07:00
draw_pipe.c draw: Don't use the pipeline when drawing lines with fractional widths. 2011-02-11 11:24:55 +00:00
draw_pipe.h gallium/draw: add ability to print out active pipeline stages 2009-04-28 18:15:17 +01:00
draw_pipe_aaline.c draw: Never allocate duplicate extra vertex attribs. 2011-09-25 11:04:31 +01:00
draw_pipe_aapoint.c draw: Never allocate duplicate extra vertex attribs. 2011-09-25 11:04:31 +01:00
draw_pipe_clip.c Gallium: remove unnecessary ifdef for MAX_CLIPPED_VERTICES. 2011-09-20 14:51:16 -07:00
draw_pipe_cull.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_flatshade.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_offset.c gallium: add polygon offset clamp state 2011-09-28 16:28:17 +02:00
draw_pipe_pstipple.c draw: remove unnecessary flush 2011-03-11 02:02:16 +01:00
draw_pipe_stipple.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_twoside.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_unfilled.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_util.c gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h 2008-08-24 17:48:55 -06:00
draw_pipe_validate.c draw: Don't use the pipeline when drawing lines with fractional widths. 2011-02-11 11:24:55 +00:00
draw_pipe_vbuf.c draw: Respect max_indices from the renderer. 2011-09-22 08:26:40 -06:00
draw_pipe_wide_line.c draw: handle some out of memory conditions 2010-06-16 12:27:53 +01:00
draw_pipe_wide_point.c draw: Never allocate duplicate extra vertex attribs. 2011-09-25 11:04:31 +01:00
draw_private.h draw/llvm: fix hard-coded number of total clip planes 2011-10-11 07:41:22 -06:00
draw_pt.c draw: Prevent out-of-bounds vertex buffer access. 2011-04-01 20:18:18 +01:00
draw_pt.h draw: add support for guard-band clipping 2011-09-22 08:26:40 -06:00
draw_pt_decompose.h draw: Avoid mixed declarations and code. 2010-08-06 17:14:21 +08:00
draw_pt_emit.c draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes. 2010-08-25 16:23:01 +08:00
draw_pt_fetch.c draw: Prevent out-of-bounds vertex buffer access. 2011-04-01 20:18:18 +01:00
draw_pt_fetch_emit.c draw: Prevent out-of-bounds vertex buffer access. 2011-04-01 20:18:18 +01:00
draw_pt_fetch_shade_emit.c draw: Prevent out-of-bounds vertex buffer access. 2011-04-01 20:18:18 +01:00
draw_pt_fetch_shade_pipeline.c draw: add support for guard-band clipping 2011-09-22 08:26:40 -06:00
draw_pt_fetch_shade_pipeline_llvm.c draw/llvm: fix hard-coded number of total clip planes 2011-10-11 07:41:22 -06:00
draw_pt_post_vs.c draw: add support for guard-band clipping 2011-09-22 08:26:40 -06:00
draw_pt_so_emit.c draw: Remove DRAW_PIPE_MAX_VERTICES and DRAW_PIPE_FLAG_MASK. 2010-08-16 20:57:08 +08:00
draw_pt_util.c draw: Add new util function draw_pt_trim_count. 2010-08-16 20:46:28 +08:00
draw_pt_vsplit.c draw: Prevent out-of-bounds vertex buffer access. 2011-04-01 20:18:18 +01:00
draw_pt_vsplit_tmp.h draw: Fix thinko in debug warnings. 2011-04-06 08:27:52 +01:00
draw_so_emit_tmp.h draw: last_vertex_last is always true for GS and SO. 2010-08-16 20:46:29 +08:00
draw_split_tmp.h drwa: Add PRIMITIVE macro to vsplit. 2010-08-16 20:46:29 +08:00
draw_vbuf.h draw: rewrite stream output to handle all the dark corners 2010-06-16 14:43:56 -04:00
draw_vertex.c draw: remove set-but-unused variable 2011-05-01 14:12:47 +02:00
draw_vertex.h draw: Fix return type of draw_translate_vinfo_size. 2010-08-04 12:55:21 -07:00
draw_vs.c draw: implement vertex color clamping, and disable SSE and PPC paths 2011-03-31 03:35:31 +02:00
draw_vs.h draw: Fix draw_variant_output::format's type. 2011-03-13 18:56:07 +00:00
draw_vs_aos.c draw: s/varient/variant/ 2010-12-16 10:18:24 -07:00
draw_vs_aos.h draw: s/varient/variant/ 2010-12-16 10:18:24 -07:00
draw_vs_aos_io.c draw: Fix draw_variant_output::format's type. 2011-03-13 18:56:07 +00:00
draw_vs_aos_machine.c gallium: Enable multiple constant buffers for vertex and geometry shaders. 2010-01-28 14:07:53 +01:00
draw_vs_exec.c draw: implement vertex color clamping, and disable SSE and PPC paths 2011-03-31 03:35:31 +02:00
draw_vs_llvm.c draw: s/varient/variant/ 2010-12-16 10:18:24 -07:00
draw_vs_ppc.c draw: s/varient/variant/ 2010-12-16 10:18:24 -07:00
draw_vs_sse.c draw: Silence tgsi_emit_sse2 failed messages. 2011-03-04 16:29:13 +00:00
draw_vs_variant.c draw: rename draw_vs_varient.c to draw_vs_variant.c 2011-06-07 07:57:26 -06:00