st/xorg: Use generic semantic for Composite mask coordinates.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000 (20:38 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Fri, 25 Sep 2009 18:38:49 +0000 (20:38 +0200)
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c

index 2daa5b5628f48422c8d2dcde62cec2f5fd963cf6..28954dc6f63684a2c09cd351ef92281d97c7ddcf 100644 (file)
@@ -271,7 +271,7 @@ create_vs(struct pipe_context *pipe,
 
    if (has_mask) {
       src = ureg_DECL_vs_input(ureg, input_slot++);
-      dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 2);
+      dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_GENERIC, 2);
       ureg_MOV(ureg, dst, src);
    }
 
@@ -330,7 +330,7 @@ create_fs(struct pipe_context *pipe,
    if (has_mask) {
       mask_sampler = ureg_DECL_sampler(ureg, 1);
       mask_pos = ureg_DECL_fs_input(ureg,
-                                    TGSI_SEMANTIC_POSITION,
+                                    TGSI_SEMANTIC_GENERIC,
                                     1,
                                     TGSI_INTERPOLATE_PERSPECTIVE);
    }