Lines Matching refs:CUBEFACE_LAST
2068 // \note If both x and y in origCoords.coords are out of bounds, this returns with face CUBEFACE_LAST, signifying that there is no unique neighboring face.
2078 return CubeFaceIntCoords(CUBEFACE_LAST, -1, -1);
2118 return CubeFaceIntCoords(CUBEFACE_LAST, IVec2(-1));
2121 static void getCubeLinearSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u, float v, int depth, Vec4 (&dst)[4])
2137 bool hasBothCoordsOutOfBounds[4]; //!< Whether correctCubeFace() returns CUBEFACE_LAST, i.e. both u and v are out of bounds.
2144 hasBothCoordsOutOfBounds[i] = coords.face == CUBEFACE_LAST;
2180 static Vec4 sampleCubeSeamlessLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float s, float t, int depth)
2211 CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s, float t, int depth, float lod)
2223 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2224 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2243 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2244 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2271 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2272 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2273 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2300 static float sampleCubeSeamlessLinearCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float ref, float s, float t)
2327 bool hasBothCoordsOutOfBounds[4]; //!< Whether correctCubeFace() returns CUBEFACE_LAST, i.e. both u and v are out of bounds.
2334 hasBothCoordsOutOfBounds[i] = coords.face == CUBEFACE_LAST;
2381 static float sampleLevelArrayCubeSeamlessCompare (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float ref, float s, float t, float lod)
2393 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2394 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2413 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2414 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2441 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2442 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2443 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2485 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2486 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2505 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2506 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2533 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2534 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2535 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2567 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2568 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2587 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2588 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2615 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2616 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2617 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2822 for (int ndx = 0; ndx < CUBEFACE_LAST; ndx++)
2826 TextureCubeView::TextureCubeView (int numLevels, const ConstPixelBufferAccess* const (&levels) [CUBEFACE_LAST])
2829 for (int ndx = 0; ndx < CUBEFACE_LAST; ndx++)
2861 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2862 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2913 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
2915 for (int face = 0; face < CUBEFACE_LAST; face++)
2930 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
2932 for (int face = 0; face < CUBEFACE_LAST; face++)
2943 for (int face = 0; face < CUBEFACE_LAST; face++)
2961 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
2963 for (int face = 0; face < CUBEFACE_LAST; face++)
2976 for (int face = 0; face < CUBEFACE_LAST; face++)
3412 case CUBEFACE_LAST: return str << "CUBEFACE_LAST";