Lines Matching refs:CUBEFACE_LAST
2464 // \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.
2474 return CubeFaceIntCoords(CUBEFACE_LAST, -1, -1);
2514 return CubeFaceIntCoords(CUBEFACE_LAST, IVec2(-1));
2517 static void getCubeLinearSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u, float v, int depth, Vec4 (&dst)[4])
2533 bool hasBothCoordsOutOfBounds[4]; //!< Whether correctCubeFace() returns CUBEFACE_LAST, i.e. both u and v are out of bounds.
2540 hasBothCoordsOutOfBounds[i] = coords.face == CUBEFACE_LAST;
2576 static Vec4 sampleCubeSeamlessLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float s, float t, int depth)
2607 static Vec4 sampleLevelArrayCubeSeamless (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float s, float t, int depth, float lod)
2619 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2620 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2639 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2640 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2667 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2668 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2669 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2696 static float sampleCubeSeamlessLinearCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const Sampler& sampler, float ref, float s, float t)
2723 bool hasBothCoordsOutOfBounds[4]; //!< Whether correctCubeFace() returns CUBEFACE_LAST, i.e. both u and v are out of bounds.
2730 hasBothCoordsOutOfBounds[i] = coords.face == CUBEFACE_LAST;
2777 static float sampleLevelArrayCubeSeamlessCompare (const ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampler& sampler, float ref, float s, float t, float lod)
2789 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2790 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2809 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2810 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2837 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2838 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2839 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2881 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2882 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2901 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2902 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2929 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
2930 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
2931 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2963 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2964 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
2983 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
2984 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
3011 ConstPixelBufferAccess faceAccesses0[CUBEFACE_LAST];
3012 ConstPixelBufferAccess faceAccesses1[CUBEFACE_LAST];
3013 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
3218 for (int ndx = 0; ndx < CUBEFACE_LAST; ndx++)
3222 TextureCubeView::TextureCubeView (int numLevels, const ConstPixelBufferAccess* const (&levels) [CUBEFACE_LAST])
3225 for (int ndx = 0; ndx < CUBEFACE_LAST; ndx++)
3257 ConstPixelBufferAccess faceAccesses[CUBEFACE_LAST];
3258 for (int i = 0; i < (int)CUBEFACE_LAST; i++)
3309 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
3311 for (int face = 0; face < CUBEFACE_LAST; face++)
3326 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
3328 for (int face = 0; face < CUBEFACE_LAST; face++)
3339 for (int face = 0; face < CUBEFACE_LAST; face++)
3357 const ConstPixelBufferAccess* levels[CUBEFACE_LAST];
3359 for (int face = 0; face < CUBEFACE_LAST; face++)
3372 for (int face = 0; face < CUBEFACE_LAST; face++)
3822 case CUBEFACE_LAST: return str << "CUBEFACE_LAST";