Lines Matching defs:position
169 tcu::Vec4 position;
171 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx);
174 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
195 tcu::Vec4 position;
198 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx);
200 texelValue = tcu::Vec4(m_texture.getPixel(de::clamp<int>((deRoundFloatToInt32(position.x() * 4) + 4) * (deRoundFloatToInt32(position.y() * 4) + 4), 0, m_texture.getWidth()-1), 0));
203 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
263 const tcu::IVec2 position0 = packet.position + tcu::IVec2(0, 0);
264 const tcu::IVec2 position1 = packet.position + tcu::IVec2(1, 0);
265 const tcu::IVec2 position2 = packet.position + tcu::IVec2(0, 1);
266 const tcu::IVec2 position3 = packet.position + tcu::IVec2(1, 1);