Lines Matching refs:x
70 #define CONST_0 CONST.x
103 // aPosition = [ aVertexIndex.x, - aVertexIndex.y, 0, 1 ]
108 // aTexCoord[0,1,2] = [ aVertex.x, aVertex.y, 0, 1 ]
111 // i = 1 * aVertex.x + 2 * aVertex.y
116 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
117 flr aFrameSpec.x, aFrameSpec
118 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
128 mov aTexCoord0, uVertexTexCoord0[a0.x]
129 mov aTexCoord1, uVertexTexCoord1[a0.x]
130 mov aTexCoord2, uVertexTexCoord2[a0.x]
131 mov aColor, uVertexColor[a0.x]
137 dp4 tmp0.x, aPosition, uModelView[0]
148 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
149 flr aFrameSpec.x, aFrameSpec
150 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
159 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
160 flr aFrameSpec.x, aFrameSpec
162 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
176 // aTexCoord[0,1,2].x += 1 - texScale.x
178 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
179 flr aFrameSpec.x, aFrameSpec
180 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
183 add aTexCoord0.x, aTexCoord0, aTexScale
184 add aTexCoord1.x, aTexCoord1, aTexScale
185 add aTexCoord2.x, aTexCoord2, aTexScale
191 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
192 flr aFrameSpec.x, aFrameSpec
193 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
201 // aTexCoord[0,1,2].x = 1 - aTexCoord[0,1,2].x
203 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
204 flr aFrameSpec.x, aFrameSpec
205 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
207 add aTexCoord0.x, CONST_1, -aTexCoord0
208 add aTexCoord1.x, CONST_1, -aTexCoord1
209 add aTexCoord2.x, CONST_1, -aTexCoord2
215 mul aFrameSpec.xy, aFrameSpec.x, CONST_1_2
216 flr aFrameSpec.x, aFrameSpec
217 cmp CMP_GT, CMP_GT, aFrameSpec.y, aFrameSpec.x
227 cmp CMP_GT, CMP_GT, tmp1.y, tmp1.x