Lines Matching refs:x
68 #define CONST_0 CONST.x
101 // aPosition = [ aVertexIndex.x, - aVertexIndex.y, 0, 1 ]
106 // aTexCoord[0,1,2] = [ aVertex.x, aVertex.y, 0, 1 ]
109 // i = 1 * aVertex.x + 2 * aVertex.y
114 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
115 flr aFrameSpec.x, aFrameSpec
116 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
126 mov aTexCoord0, uVertexTexCoord0[a0.x]
127 mov aTexCoord1, uVertexTexCoord1[a0.x]
128 mov aTexCoord2, uVertexTexCoord2[a0.x]
129 mov aColor, uVertexColor[a0.x]
135 dp4 tmp0.x, aPosition, uModelView[0]
146 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
147 flr aFrameSpec.x, aFrameSpec
148 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
157 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
158 flr aFrameSpec.x, aFrameSpec
160 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
174 // aTexCoord[0,1,2].x += 1 - texScale.x
176 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
177 flr aFrameSpec.x, aFrameSpec
178 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
181 add aTexCoord0.x, aTexCoord0, aTexScale
182 add aTexCoord1.x, aTexCoord1, aTexScale
183 add aTexCoord2.x, aTexCoord2, aTexScale
189 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
190 flr aFrameSpec.x, aFrameSpec
191 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
199 // aTexCoord[0,1,2].x = 1 - aTexCoord[0,1,2].x
201 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
202 flr aFrameSpec.x, aFrameSpec
203 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
205 add aTexCoord0.x, CONST_1, -aTexCoord0
206 add aTexCoord1.x, CONST_1, -aTexCoord1
207 add aTexCoord2.x, CONST_1, -aTexCoord2
213 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
214 flr aFrameSpec.x, aFrameSpec
215 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
225 cmp CMP_GT, CMP_GT, tmp1.y, tmp1.x