tgsi/ureg: make the dst register match the src indirection
[mesa.git] / src / gallium / auxiliary / draw / draw_vs.h
index e6d187e97742bfe0ee8d18f6c3bd58b98e3cbb33..798b004ebd4d211e55acb4e907bb46c0536fef96 100644 (file)
@@ -111,7 +111,8 @@ struct draw_vertex_shader {
    struct tgsi_shader_info info;
    unsigned position_output;
    unsigned edgeflag_output;
-
+   unsigned clipvertex_output;
+   unsigned clipdistance_output[2];
    /* Extracted from shader:
     */
    const float (*immediates)[4];
@@ -158,22 +159,9 @@ struct draw_vertex_shader *
 draw_create_vs_exec(struct draw_context *draw,
                    const struct pipe_shader_state *templ);
 
-struct draw_vertex_shader *
-draw_create_vs_sse(struct draw_context *draw,
-                  const struct pipe_shader_state *templ);
-
-struct draw_vertex_shader *
-draw_create_vs_ppc(struct draw_context *draw,
-                  const struct pipe_shader_state *templ);
-
-
 struct draw_vs_variant_key;
 struct draw_vertex_shader;
 
-struct draw_vs_variant *
-draw_vs_create_variant_aos_sse( struct draw_vertex_shader *vs,
-                                const struct draw_vs_variant_key *key );
-
 #if HAVE_LLVM
 struct draw_vertex_shader *
 draw_create_vs_llvm(struct draw_context *draw,
@@ -214,18 +202,6 @@ static INLINE int draw_vs_variant_key_compare( const struct draw_vs_variant_key
 }
 
 
-struct aos_machine *draw_vs_aos_machine( void );
-void draw_vs_aos_machine_destroy( struct aos_machine *machine );
-
-void
-draw_vs_aos_machine_constants(struct aos_machine *machine,
-                              unsigned slot,
-                              const void *constants);
-
-void draw_vs_aos_machine_viewport( struct aos_machine *machine,
-                                   const struct pipe_viewport_state *viewport );
-
-
 #define MAX_TGSI_VERTICES 4