Lines Matching refs:DE_ASSERT
174 DE_ASSERT(DE_FALSE); in getChannelSize()
205 DE_ASSERT(DE_FALSE); in getNumUsedChannels()
234 DE_ASSERT(DE_FALSE); in channelToFloat()
263 DE_ASSERT(DE_FALSE); in channelToInt()
292 DE_ASSERT(DE_FALSE); in floatToChannel()
346 DE_ASSERT(DE_FALSE); in intToChannel()
431 DE_ASSERT(DE_FALSE); in getChannelReadSwizzle()
478 DE_ASSERT(DE_FALSE); in getChannelWriteSwizzle()
505 DE_ASSERT(order == RGB || order == RGBA); in getPixelSize()
512 DE_ASSERT(order == RGB); in getPixelSize()
518 DE_ASSERT(order == RGBA); in getPixelSize()
523 DE_ASSERT(order == D || order == DS); in getPixelSize()
528 DE_ASSERT(order == DS); in getPixelSize()
572 DE_ASSERT(m_format.getPixelSize() <= m_pitch.x()); in ConstPixelBufferAccess()
610 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixel()
611 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixel()
612 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixel()
649 DE_ASSERT(false); in getPixel()
654 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixel()
698 DE_ASSERT(false); in getPixel()
707 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixelInt()
708 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixelInt()
709 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixelInt()
741 DE_ASSERT(false); in getPixelInt()
746 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixelInt()
784 DE_ASSERT(false); in getPixelInt()
811 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixDepth()
812 DE_ASSERT(de::inBounds(y, 0, getHeight())); in getPixDepth()
813 DE_ASSERT(de::inBounds(z, 0, getDepth())); in getPixDepth()
820 DE_ASSERT(m_format.order == TextureFormat::DS || m_format.order == TextureFormat::D); in getPixDepth()
831 DE_ASSERT(false); in getPixDepth()
836 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixDepth()
840 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in getPixDepth()
850 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixStencil()
851 DE_ASSERT(de::inBounds(y, 0, getHeight())); in getPixStencil()
852 DE_ASSERT(de::inBounds(z, 0, getDepth())); in getPixStencil()
865 DE_ASSERT(false); in getPixStencil()
870 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixStencil()
879 DE_ASSERT(m_format.order == TextureFormat::DS); in getPixStencil()
889 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixel()
890 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixel()
891 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixel()
944 DE_ASSERT(false); in setPixel()
949 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixel()
971 DE_ASSERT(deInRange32(map[c], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3)); in setPixel()
984 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixel()
985 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixel()
986 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixel()
1016 DE_ASSERT(false); in setPixel()
1021 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixel()
1035 DE_ASSERT(deInRange32(map[c], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3)); in setPixel()
1047 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixDepth()
1048 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixDepth()
1049 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixDepth()
1063 DE_ASSERT(false); in setPixDepth()
1068 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixDepth()
1073 DE_ASSERT(m_format.order == TextureFormat::D || m_format.order == TextureFormat::DS); in setPixDepth()
1083 DE_ASSERT(de::inBounds(x, 0, getWidth())); in setPixStencil()
1084 DE_ASSERT(de::inBounds(y, 0, getHeight())); in setPixStencil()
1085 DE_ASSERT(de::inBounds(z, 0, getDepth())); in setPixStencil()
1099 DE_ASSERT(false); in setPixStencil()
1104 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixStencil()
1113 DE_ASSERT(m_format.order == TextureFormat::DS); in setPixStencil()
1174 DE_ASSERT(DE_FALSE); in wrap()
1197 DE_ASSERT(DE_FALSE); in unnormalize()
1222 DE_ASSERT(false); in isFixedPointDepthTextureFormat()
1242 DE_ASSERT(!isCombinedDepthStencilType(format.type)); in lookupBorder()
1259 DE_ASSERT(false); in lookupBorder()
1282 DE_ASSERT(false); in execCompare()
1528 DE_ASSERT(de::inBounds(level, 0, m_size.y())); in sample1D()
1536 DE_ASSERT(de::inBounds(depth, 0, m_size.z())); in sample2D()
1550 DE_ASSERT(de::inBounds(offset.y(), 0, m_size.y())); in sample1DOffset()
1563 DE_ASSERT(DE_FALSE); in sample1DOffset()
1572 DE_ASSERT(de::inBounds(offset.z(), 0, m_size.z())); in sample2DOffset()
1589 DE_ASSERT(DE_FALSE); in sample2DOffset()
1613 DE_ASSERT(DE_FALSE); in sample3DOffset()
1622 DE_ASSERT(de::inBounds(offset.y(), 0, m_size.y())); in sample1DCompare()
1638 DE_ASSERT(DE_FALSE); in sample1DCompare()
1647 DE_ASSERT(de::inBounds(offset.z(), 0, m_size.z())); in sample2DCompare()
1667 DE_ASSERT(DE_FALSE); in sample2DCompare()
1760 DE_ASSERT(DE_FALSE); in sampleLevelArray1DOffset()
1800 DE_ASSERT(DE_FALSE); in sampleLevelArray2DOffset()
1840 DE_ASSERT(DE_FALSE); in sampleLevelArray3DOffset()
1880 DE_ASSERT(DE_FALSE); in sampleLevelArray1DCompare()
1920 DE_ASSERT(DE_FALSE); in sampleLevelArray2DCompare()
1927 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in fetchGatherArray2DOffsets()
1957 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gatherArray2DOffsets()
1958 DE_ASSERT(de::inBounds(componentNdx, 0, 4)); in gatherArray2DOffsets()
1965 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherArray2DOffsetsCompare()
1966 DE_ASSERT(src.getFormat().order == TextureFormat::D || src.getFormat().order == TextureFormat::DS); in gatherArray2DOffsetsCompare()
1967 DE_ASSERT(sampler.compareChannel == 0); in gatherArray2DOffsetsCompare()
2051 DE_ASSERT(DE_FALSE); in projectToFace()
2094 default: DE_ASSERT(false); in remapCubeEdgeCoords()
2117 DE_ASSERT(false); in remapCubeEdgeCoords()
2123 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in getCubeLinearSamples()
2160 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v. in getCubeLinearSamples()
2182 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in sampleCubeSeamlessLinear()
2241 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2269 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamless()
2287 DE_ASSERT(DE_FALSE); in sampleLevelArrayCubeSeamless()
2302 DE_ASSERT(faceAccesses[0].getWidth() == faceAccesses[0].getHeight()); in sampleCubeSeamlessLinearCompare()
2355 DE_ASSERT(bothOutOfBoundsNdx < 0); // Only one sample can be out of bounds in both u and v. in sampleCubeSeamlessLinearCompare()
2411 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2439 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleLevelArrayCubeSeamlessCompare()
2457 DE_ASSERT(DE_FALSE); in sampleLevelArrayCubeSeamlessCompare()
2503 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
2531 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamless()
2549 DE_ASSERT(DE_FALSE); in sampleCubeArraySeamless()
2585 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
2613 DE_ASSERT(levelFilter == Sampler::LINEAR); in sampleCubeArraySeamlessCompare()
2631 DE_ASSERT(DE_FALSE); in sampleCubeArraySeamlessCompare()
2715 DE_ASSERT(isLevelEmpty(levelNdx)); in allocLevel()
2723 DE_ASSERT(!isLevelEmpty(levelNdx)); in clearLevel()
2764 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
2809 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
2835 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
2847 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
2859 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in gather()
2890 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in gatherCompare()
2891 …DE_ASSERT(m_levels[0][0].getFormat().order == TextureFormat::D || m_levels[0][0].getFormat().order… in gatherCompare()
2892 DE_ASSERT(sampler.compareChannel == 0); in gatherCompare()
3001 DE_ASSERT(isLevelEmpty(face, levelNdx)); in allocLevel()
3009 DE_ASSERT(!isLevelEmpty(face, levelNdx)); in clearLevel()
3024 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3058 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3130 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3178 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3235 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()
3254 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer()
3255 DE_ASSERT((m_levels[0].getDepth() % 6) == 0); in selectLayer()
3266 DE_ASSERT(sampler.compare == Sampler::COMPAREMODE_NONE); in sample()
3280 DE_ASSERT(sampler.compare != Sampler::COMPAREMODE_NONE); in sampleCompare()
3296 DE_ASSERT(m_depth % 6 == 0); in TextureCubeArray()
3305 DE_ASSERT(m_depth % 6 == 0); in TextureCubeArray()
3319 DE_ASSERT(m_depth % 6 == 0); in operator =()
3330 DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); in allocLevel()