diff options
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/draw/draw_gs.h')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/draw/draw_gs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/draw/draw_gs.h b/lib/mesa/src/gallium/auxiliary/draw/draw_gs.h index 9a86910c1..9449ec509 100644 --- a/lib/mesa/src/gallium/auxiliary/draw/draw_gs.h +++ b/lib/mesa/src/gallium/auxiliary/draw/draw_gs.h @@ -36,7 +36,7 @@ struct draw_context; -#ifdef LLVM_AVAILABLE +#ifdef DRAW_LLVM_AVAILABLE struct draw_gs_jit_context; struct draw_gs_llvm_variant; @@ -96,11 +96,11 @@ struct draw_geometry_shader { unsigned num_invocations; unsigned invocation_id; -#ifdef LLVM_AVAILABLE +#ifdef DRAW_LLVM_AVAILABLE struct draw_gs_inputs *gs_input; struct draw_gs_jit_context *jit_context; struct draw_gs_llvm_variant *current_variant; - struct vertex_header *gs_output; + struct vertex_header *gs_output[PIPE_MAX_VERTEX_STREAMS]; int **llvm_prim_lengths; int *llvm_emitted_primitives; @@ -146,7 +146,7 @@ void draw_geometry_shader_prepare(struct draw_geometry_shader *shader, int draw_gs_max_output_vertices(struct draw_geometry_shader *shader, unsigned pipe_prim); -#ifdef LLVM_AVAILABLE +#ifdef DRAW_LLVM_AVAILABLE void draw_gs_set_current_variant(struct draw_geometry_shader *shader, struct draw_gs_llvm_variant *variant); #endif |