radeonsi: TGSI_SEMANTIC_CLIPVERTEX doesn't use any parameters
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 7 Aug 2013 09:30:50 +0000 (11:30 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 15 Aug 2013 15:54:40 +0000 (17:54 +0200)
src/gallium/drivers/radeonsi/si_state_draw.c

index 2a592da8c13a2a34ac9eff0fde2e390eb65a2cb7..c6ef8bd29ac6cde4f353497cee47d770561a06ad 100644 (file)
@@ -59,6 +59,7 @@ static void si_pipe_shader_vs(struct pipe_context *ctx, struct si_pipe_shader *s
         */
        for (nparams = 0, i = 0 ; i < shader->shader.noutput; i++) {
                switch (shader->shader.output[i].name) {
+               case TGSI_SEMANTIC_CLIPVERTEX:
                case TGSI_SEMANTIC_POSITION:
                case TGSI_SEMANTIC_PSIZE:
                        break;