From: Christian König Date: Sat, 3 Mar 2012 09:52:34 +0000 (+0100) Subject: vl: fix shader in/out numbering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95594bae47d8b3302be188e6f0be2d69c5507bb3;p=mesa.git vl: fix shader in/out numbering Fix all the other wrong numberings. Signed-off-by: Christian König --- diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c index 18697d31727..f848a78d18a 100644 --- a/src/gallium/auxiliary/vl/vl_idct.c +++ b/src/gallium/auxiliary/vl/vl_idct.c @@ -43,8 +43,8 @@ enum VS_OUTPUT { - VS_O_VPOS, - VS_O_L_ADDR0, + VS_O_VPOS = 0, + VS_O_L_ADDR0 = 0, VS_O_L_ADDR1, VS_O_R_ADDR0, VS_O_R_ADDR1 diff --git a/src/gallium/auxiliary/vl/vl_matrix_filter.c b/src/gallium/auxiliary/vl/vl_matrix_filter.c index b195793b550..333fcc8f813 100644 --- a/src/gallium/auxiliary/vl/vl_matrix_filter.c +++ b/src/gallium/auxiliary/vl/vl_matrix_filter.c @@ -41,8 +41,8 @@ enum VS_OUTPUT { - VS_O_VPOS, - VS_O_VTEX + VS_O_VPOS = 0, + VS_O_VTEX = 0 }; static void * diff --git a/src/gallium/auxiliary/vl/vl_mc.c b/src/gallium/auxiliary/vl/vl_mc.c index e3cd0c007e4..d395cc2d57c 100644 --- a/src/gallium/auxiliary/vl/vl_mc.c +++ b/src/gallium/auxiliary/vl/vl_mc.c @@ -41,8 +41,8 @@ enum VS_OUTPUT { - VS_O_VPOS, - VS_O_VTOP, + VS_O_VPOS = 0, + VS_O_VTOP = 0, VS_O_VBOTTOM, VS_O_FLAGS = VS_O_VTOP, diff --git a/src/gallium/auxiliary/vl/vl_median_filter.c b/src/gallium/auxiliary/vl/vl_median_filter.c index 14f3411c1b2..5770ff8258a 100644 --- a/src/gallium/auxiliary/vl/vl_median_filter.c +++ b/src/gallium/auxiliary/vl/vl_median_filter.c @@ -39,8 +39,8 @@ enum VS_OUTPUT { - VS_O_VPOS, - VS_O_VTEX + VS_O_VPOS = 0, + VS_O_VTEX = 0 }; static void * diff --git a/src/gallium/auxiliary/vl/vl_zscan.c b/src/gallium/auxiliary/vl/vl_zscan.c index 762ab3f2841..1f0939b1dc3 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.c +++ b/src/gallium/auxiliary/vl/vl_zscan.c @@ -45,8 +45,8 @@ enum VS_OUTPUT { - VS_O_VPOS, - VS_O_VTEX + VS_O_VPOS = 0, + VS_O_VTEX = 0 }; const int vl_zscan_linear[] =