gallium/tests: add missing arg to util_make_vertex_passthrough_shader()
authorBrian Paul <brianp@vmware.com>
Mon, 17 Nov 2014 17:10:15 +0000 (10:10 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 17 Nov 2014 17:20:24 +0000 (10:20 -0700)
Fix oversights from the "add a window_space option to the passthrough
vertex shader" patch.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/tests/trivial/quad-tex.c
src/gallium/tests/trivial/tri.c

index c09e09a57998062a409bf9d5cab46f8ad3aec09f..0d380125a5791b33b2ca498dbbce07b8c74e1758 100644 (file)
@@ -266,7 +266,7 @@ static void init_prog(struct program *p)
                const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
                                                TGSI_SEMANTIC_GENERIC };
                const uint semantic_indexes[] = { 0, 0 };
-               p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes);
+               p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes, FALSE);
        }
 
        /* fragment shader */
index dcc5a2288c73b2826a6ec6074114f17adcbcad97..13cc801ec639714f5cb576519e38cdc47d44118e 100644 (file)
@@ -211,7 +211,7 @@ static void init_prog(struct program *p)
                        const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
                                                        TGSI_SEMANTIC_COLOR };
                        const uint semantic_indexes[] = { 0, 0 };
-                       p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes);
+                       p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes, FALSE);
        }
 
        /* fragment shader */