Lines Matching refs:sy
170 Vec4 getCoords (float sx, float sy) const;
171 Vec4 getUnitCoords (float sx, float sy) const;
174 Vec4 getUserAttrib (int attribNdx, float sx, float sy) const;
218 float sy = y / (float)gridSize; in QuadGrid() local
220 float fy = 2.0f * sy - 1.0f; in QuadGrid()
225 m_screenPos[vtxNdx] = Vec4(sx, sy, 0.0f, 1.0f) * viewportScale; in QuadGrid()
226 m_coords[vtxNdx] = getCoords(sx, sy); in QuadGrid()
227 m_unitCoords[vtxNdx] = getUnitCoords(sx, sy); in QuadGrid()
230 m_userAttribs[attribNdx][vtxNdx] = getUserAttrib(attribNdx, sx, sy); in QuadGrid()
259 inline Vec4 QuadGrid::getCoords (float sx, float sy) const in getCoords()
262 float fy = 2.0f * sy - 1.0f; in getCoords()
266 inline Vec4 QuadGrid::getUnitCoords (float sx, float sy) const in getUnitCoords()
268 return Vec4(sx, sy, 0.33f*sx + 0.5f*sy, 0.5f*sx + 0.25f*sy); in getUnitCoords()
271 inline Vec4 QuadGrid::getUserAttrib (int attribNdx, float sx, float sy) const in getUserAttrib()
274 return m_userAttribTransforms[attribNdx] * Vec4(sx, sy, 0.0f, 1.0f); in getUserAttrib()
313 void ShaderEvalContext::reset (float sx, float sy) in reset() argument
320 coords = quadGrid.getCoords(sx, sy); in reset()
321 unitCoords = quadGrid.getUnitCoords(sx, sy); in reset()
327 in[attribNdx] = quadGrid.getUserAttrib(attribNdx, sx, sy); in reset()
667 float sy = y / (float)gridSize; in computeVertexReference() local
670 evalCtx.reset(sx, sy); in computeVertexReference()
751 float sy = ((float)y + 0.5f) / (float)height; in computeFragmentReference() local
753 evalCtx.reset(sx, sy); in computeFragmentReference()