svga: s/INDEX_0D/INDEX_IMMEDIATE32/
authorBrian Paul <brianp@vmware.com>
Fri, 19 Aug 2016 15:37:11 +0000 (09:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
Both are zero, but the later is the right token.

src/gallium/drivers/svga/svga_tgsi_vgpu10.c

index ef5d78e0483daa4c9ea0812b7dd548a59c3c10cc..981251af628ad54b93fd8e39b684ab2757fb5943 100644 (file)
@@ -745,7 +745,7 @@ setup_operand0_indexing(struct svga_shader_emitter_v10 *emit,
                         boolean indirect, boolean index2D,
                         unsigned tempArrayID)
 {
-   unsigned indexDim, index0Rep, index1Rep = VGPU10_OPERAND_INDEX_0D;
+   unsigned indexDim, index0Rep, index1Rep = VGPU10_OPERAND_INDEX_IMMEDIATE32;
 
    /*
     * Compute index dimensions