Home
last modified time | relevance | path

Searched refs:inBounds (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/vk-gl-cts/framework/common/
DtcuSurface.hpp72 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
89 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel()
DtcuTexture.cpp1071 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixel()
1072 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixel()
1073 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixel()
1208 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixelInt()
1209 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixelInt()
1210 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixelInt()
1338 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixDepth()
1339 DE_ASSERT(de::inBounds(y, 0, getHeight())); in getPixDepth()
1340 DE_ASSERT(de::inBounds(z, 0, getDepth())); in getPixDepth()
1370 DE_ASSERT(de::inBounds(x, 0, getWidth())); in getPixStencil()
[all …]
DtcuSurfaceAccess.hpp73 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
DtcuTexture.hpp534 …const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLev… in getLevel()
603 …bool isLevelEmpty (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels()… in isLevelEmpty()
604 …const ConstPixelBufferAccess& getLevel (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0… in getLevel()
605 …const PixelBufferAccess& getLevel (int levelNdx) { DE_ASSERT(de::inBounds(levelNdx, 0, getNum… in getLevel()
708 …ferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLeve… in getLevelFace()
738 …ferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, getNumLev… in getLevelFace()
739 …const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { DE_ASSERT(de::inBounds(ndx, 0,… in getLevelFace()
743 …bool isLevelEmpty (CubeFace face, int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0,… in isLevelEmpty()
795 …const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLev… in getLevel()
903 …const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLev… in getLevel()
[all …]
DtcuBilinearImageCompare.cpp179 if (!de::inBounds(u, 0, (reference.getWidth()-1)<<NUM_SUBPIXEL_BITS) || in comparePixelRGBA8()
180 !de::inBounds(v, 0, (reference.getHeight()-1)<<NUM_SUBPIXEL_BITS)) in comparePixelRGBA8()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.hpp106 …float asFloat (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value… in asFloat()
107 …int asInt (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[nd… in asInt()
108 …bool asBool (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[n… in asBool()
109 …Scalar asScalar (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_valu… in asScalar()
112 …T as (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[… in as()
139 …float& asFloat (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value… in asFloat()
140 …int& asInt (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx… in asInt()
141 …bool& asBool (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[n… in asBool()
142 …Scalar& asScalar (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_valu… in asScalar()
145 …T& as (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].t… in as()
DrsgPrettyPrinter.cpp125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr))); in getSimpleTokenStr()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRasterizer.hpp47 …DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)… in getCoverageBit()
54 DE_ASSERT(de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)); in getCoverageFragmentSampleBits()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeArrayUtil.hpp36 DE_ASSERT(inBounds(offset, 0, Size)); in getSizedArrayElement()
44 DE_ASSERT(inBounds(offset, 0, Size)); in getArrayElement()
DdeRingBuffer.hpp153 DE_ASSERT(de::inBounds(offset, 0, getNumElements())); in peekBack()
DdeAppendList.cpp124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); in runAppendListTest()
DdeThreadSafeRingBuffer.cpp77 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
/third_party/vk-gl-cts/framework/opengl/
DgluVarTypeUtil.cpp137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
147 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeScalarSize(curType.getBasicType()))); in parseTypePath()
DgluVarTypeUtil.hpp323 …if (!curType->isStructType() || !de::inBounds(pathIter->index, 0, curType->getStructPtr()->getNumM… in isValidTypePath()
330 …rayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds(pathIter->index, … in isValidTypePath()
DgluShaderProgram.cpp557 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typeMap))); in getGLShaderType()
581 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typebitMap))); in getGLShaderTypeBit()
605 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typeMap))); in getLogShaderType()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderPerformanceMeasurer.cpp159 DE_ASSERT(de::inBounds(m_gridSizeX, 1, 256) && de::inBounds(m_gridSizeY, 1, 256)); in init()
344 DE_ASSERT(de::inBounds(gridW, 1, 256) && de::inBounds(gridH, 1, 256)); in setGridSize()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fColorClearTest.cpp178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate()
195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fColorClearTest.cpp178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate()
195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
Des3fBufferCopyTests.cpp75 …DE_ASSERT(de::inBounds(m_copySrcOffset, 0, m_srcSize) && de::inRange(m_copySrcOffset+m_copySize, m… in BasicBufferCopyCase()
76 …DE_ASSERT(de::inBounds(m_copyDstOffset, 0, m_dstSize) && de::inRange(m_copyDstOffset+m_copySize, m… in BasicBufferCopyCase()
Des3fFragmentOutputTests.cpp349 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getFloatRange()
362 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getIntRange()
375 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getUintRange()
650 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
685 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
725 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
854 DE_ASSERT(de::inBounds(location, 0, (int)m_fboSpec.size())); in iterate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIndexedMap.h73 bool inBounds(IndexT n) const { in inBounds() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCoordinatesTests.cpp204 DE_ASSERT(de::inBounds(centerX, 0, width) && de::inBounds(centerY, 0, height)); in drawPoint()
212 if (de::inBounds(pixX, 0, width) && de::inBounds(pixY, 0, height)) in drawPoint()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDeviceUtil.cpp113 if (!de::inBounds(deviceIdFromCmdLine, 0u, static_cast<deUint32>(devices.size() + 1))) in chooseDeviceIndex()
DvkAllocationCallbackUtil.cpp383 …if (scopePtr && !de::inBounds(*scopePtr, (VkSystemAllocationScope)0, VK_SYSTEM_ALLOCATION_SCOPE_LA… in validateAllocationCallbacks()
534 …if (de::inBounds(record.data.internalAllocation.type, (VkInternalAllocationType)0, VK_INTERNAL_ALL… in validateAllocationCallbacks()
602 DE_ASSERT(de::inBounds(scope, (VkSystemAllocationScope)0, VK_SYSTEM_ALLOCATION_SCOPE_LAST)); in checkAndLog()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h221 if (!LiveOutRegInfo.inBounds(Reg)) in GetLiveOutRegInfo()

1234