Lines Matching refs:DE_ASSERT

285 			DE_ASSERT(DE_FALSE);  in getChannelSize()
319 DE_ASSERT(DE_FALSE); in getNumUsedChannels()
349 DE_ASSERT(DE_FALSE); in channelToFloat()
379 DE_ASSERT(DE_FALSE); in channelToInt()
409 DE_ASSERT(DE_FALSE); in floatToChannel()
464 DE_ASSERT(DE_FALSE); in intToChannel()
665 DE_ASSERT(isValid(format)); in getPixelSize()
756 DE_ASSERT(false); // combined formats cannot be read from in getChannelReadSwizzle()
760 DE_ASSERT(DE_FALSE); in getChannelReadSwizzle()
810 DE_ASSERT(false); // combined formats cannot be written to in getChannelWriteSwizzle()
814 DE_ASSERT(DE_FALSE); in getChannelWriteSwizzle()
841 DE_ASSERT(isValid(format)); in ConstPixelBufferAccess()
850 DE_ASSERT(isValid(format)); in ConstPixelBufferAccess()
859 DE_ASSERT(isValid(format)); in ConstPixelBufferAccess()
868 DE_ASSERT(isValid(format)); in ConstPixelBufferAccess()
869 DE_ASSERT(m_format.getPixelSize() <= m_pitch.x()); in ConstPixelBufferAccess()
913 DE_ASSERT((src == TextureFormat::RGB && dst == TextureFormat::BGR) || in swizzleRB()
923 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixel()
924 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixel()
925 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixel()
926DE_ASSERT(!isCombinedDepthStencilType(m_format.type)); // combined types cannot be accessed direct… in getPixel()
927 DE_ASSERT(m_format.order != TextureFormat::DS); // combined formats cannot be accessed directly in getPixel()
969 DE_ASSERT(m_format.order == TextureFormat::ARGB); in getPixel()
1013 DE_ASSERT(false); in getPixel()
1022 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixelInt()
1023 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixelInt()
1024 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixelInt()
1025DE_ASSERT(!isCombinedDepthStencilType(m_format.type)); // combined types cannot be accessed direct… in getPixelInt()
1026 DE_ASSERT(m_format.order != TextureFormat::DS); // combined formats cannot be accessed directly in getPixelInt()
1063 DE_ASSERT(m_format.order == TextureFormat::ARGB); in getPixelInt()
1099 DE_ASSERT(false); in getPixelInt()
1126 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixDepth()
1127 DE_ASSERT(de::inBounds(y, 0, getHeight())); in getPixDepth()
1128 DE_ASSERT(de::inBounds(z, 0, getDepth())); in getPixDepth()
1135 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixDepth()
1139 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in getPixDepth()
1143 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in getPixDepth()
1147 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixDepth()
1151 DE_ASSERT(m_format.order == TextureFormat::D); // no other combined depth stencil types in getPixDepth()
1158 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixStencil()
1159 DE_ASSERT(de::inBounds(y, 0, getHeight())); in getPixStencil()
1160 DE_ASSERT(de::inBounds(z, 0, getDepth())); in getPixStencil()
1167 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixStencil()
1172 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixStencil()
1176 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixStencil()
1181 DE_ASSERT(m_format.order == TextureFormat::S); // no other combined depth stencil types in getPixStencil()
1189 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixel()
1190 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixel()
1191 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixel()
1192DE_ASSERT(!isCombinedDepthStencilType(m_format.type)); // combined types cannot be accessed direct… in setPixel()
1193 DE_ASSERT(m_format.order != TextureFormat::DS); // combined formats cannot be accessed directly in setPixel()
1324 DE_ASSERT(deInRange32(map[c], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3)); in setPixel()
1339 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixel()
1340 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixel()
1341 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixel()
1342DE_ASSERT(!isCombinedDepthStencilType(m_format.type)); // combined types cannot be accessed direct… in setPixel()
1343 DE_ASSERT(m_format.order != TextureFormat::DS); // combined formats cannot be accessed directly in setPixel()
1434 DE_ASSERT(deInRange32(map[c], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3)); in setPixel()
1447 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixDepth()
1448 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixDepth()
1449 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixDepth()
1456 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixDepth()
1461 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in setPixDepth()
1466 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in setPixDepth()
1471 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixDepth()
1476 DE_ASSERT(m_format.order == TextureFormat::D); // no other combined depth stencil types in setPixDepth()
1484 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixStencil()
1485 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixStencil()
1486 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixStencil()
1494 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixStencil()
1499 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixStencil()
1504 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixStencil()
1509 DE_ASSERT(m_format.order == TextureFormat::S); // no other combined depth stencil types in setPixStencil()
1569 DE_ASSERT(DE_FALSE); in wrap()
1593 DE_ASSERT(DE_FALSE); in unnormalize()
1600 DE_ASSERT(format.order == TextureFormat::D); in isFixedPointDepthTextureFormat()
1609 DE_ASSERT(false); in isFixedPointDepthTextureFormat()
1638 DE_ASSERT(!isCombinedDepthStencilType(format.type)); in lookupBorder()
1655 DE_ASSERT(false); in lookupBorder()
1678 DE_ASSERT(false); in execCompare()
1924 DE_ASSERT(de::inBounds(level, 0, m_size.y())); in sample1D()
1932 DE_ASSERT(de::inBounds(depth, 0, m_size.z())); in sample2D()
1946 DE_ASSERT(de::inBounds(offset.y(), 0, m_size.y())); in sample1DOffset()
1959 DE_ASSERT(DE_FALSE); in sample1DOffset()
1968 DE_ASSERT(de::inBounds(offset.z(), 0, m_size.z())); in sample2DOffset()
1985 DE_ASSERT(DE_FALSE); in sample2DOffset()
2009 DE_ASSERT(DE_FALSE); in sample3DOffset()
2018 DE_ASSERT(de::inBounds(offset.y(), 0, m_size.y())); in sample1DCompare()
2034 DE_ASSERT(DE_FALSE); in sample1DCompare()
2043 DE_ASSERT(de::inBounds(offset.z(), 0, m_size.z())); in sample2DCompare()
2063 DE_ASSERT(DE_FALSE); in sample2DCompare()
2156 DE_ASSERT(DE_FALSE); in sampleLevelArray1DOffset()
2196 DE_ASSERT(DE_FALSE); in sampleLevelArray2DOffset()
2236 DE_ASSERT(DE_FALSE); in sampleLevelArray3DOffset()
2276 DE_ASSERT(DE_FALSE); in sampleLevelArray1DCompare()
2316 DE_ASSERT(DE_FALSE); in sampleLevelArray2DCompare()
2323 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in fetchGatherArray2DOffsets()
2353 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gatherArray2DOffsets()
2354 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in gatherArray2DOffsets()
2361 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherArray2DOffsetsCompare()
2362 DE_ASSERT(src.getFormat().order == TextureFormat::D || src.getFormat().order == TextureFormat::DS); in gatherArray2DOffsetsCompare()
2363 DE_ASSERT(sampler.compareChannel == 0); in gatherArray2DOffsetsCompare()
2447 DE_ASSERT(DE_FALSE); in projectToFace()
2490 default: DE_ASSERT(false); in remapCubeEdgeCoords()
2513 DE_ASSERT(false); in remapCubeEdgeCoords()
2519 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in getCubeLinearSamples()
2556 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v. in getCubeLinearSamples()
2578 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in sampleCubeSeamlessLinear()
2637 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2665 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2683 DE_ASSERT(DE_FALSE); in sampleLevelArrayCubeSeamless()
2698 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in sampleCubeSeamlessLinearCompare()
2751 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v. in sampleCubeSeamlessLinearCompare()
2807 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2835 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2853 DE_ASSERT(DE_FALSE); in sampleLevelArrayCubeSeamlessCompare()
2899 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
2927 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
2945 DE_ASSERT(DE_FALSE); in sampleCubeArraySeamless()
2981 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3009 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
3027 DE_ASSERT(DE_FALSE); in sampleCubeArraySeamlessCompare()
3111 DE_ASSERT(isLevelEmpty(levelNdx)); in allocLevel()
3119 DE_ASSERT(!isLevelEmpty(levelNdx)); in clearLevel()
3160 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3205 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3231 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3243 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
3255 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gather()
3286 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherCompare()
3287DE_ASSERT(m_levels[0][0].getFormat().order == TextureFormat::D || m_levels[0][0].getFormat().order… in gatherCompare()
3288 DE_ASSERT(sampler.compareChannel == 0); in gatherCompare()
3397 DE_ASSERT(isLevelEmpty(face, levelNdx)); in allocLevel()
3405 DE_ASSERT(!isLevelEmpty(face, levelNdx)); in clearLevel()
3420 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3454 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3526 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3574 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3631 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3650 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3651 DE_ASSERT((m_levels[0].getDepth() % 6) == 0); in selectLayer()
3662 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3676 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
3692 DE_ASSERT(m_depth % 6 == 0); in TextureCubeArray()
3701 DE_ASSERT(m_depth % 6 == 0); in TextureCubeArray()
3715 DE_ASSERT(m_depth % 6 == 0); in operator =()
3726 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()