/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPrerequisiteTests.cpp | 133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate() 223 int r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 224 int g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() [all …]
|
D | es3fFboRenderTest.cpp | 438 int x = deRandom_getUint32(&rnd) % xMax; in iterate() 439 int y = deRandom_getUint32(&rnd) % yMax; in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fPrerequisiteTests.cpp | 133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate() 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); in iterate() 223 int r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() 224 int g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate() [all …]
|
D | es2fFboRenderTest.cpp | 574 int x = deRandom_getUint32(&rnd) % xMax; in iterate() 575 int y = deRandom_getUint32(&rnd) % yMax; in iterate() 683 int cX = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % width; in render() 684 int cY = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % height; in render() 685 int cWidth = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (width-cX); in render() 686 int cHeight = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (height-cY); in render() 687 Vec4 color = RGBA(deRandom_getUint32(&rnd)).toVec(); in render()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deRandom.c | 49 deUint32 deRandom_getUint32 (deRandom* rnd) in deRandom_getUint32() function 69 deUint64 x = deRandom_getUint32(rnd); in deRandom_getUint64() 70 return x << 32 | deRandom_getUint32(rnd); in deRandom_getUint64() 80 return (float)(deRandom_getUint32(rnd) & 0xFFFFFFFu) / (float)(0xFFFFFFFu+1); in deRandom_getFloat() 102 deUint32 val = deRandom_getUint32(rnd); in deRandom_getBool()
|
D | deFloat16Test.c | 101 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 119 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 120 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 163 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 164 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 180 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 181 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 223 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() 240 deUint32 exponent = deRandom_getUint32(&rnd); in deFloat16_selfTest() 241 deUint32 mantissa = deRandom_getUint32(&rnd); in deFloat16_selfTest() [all …]
|
D | deRandom.h | 48 deUint32 deRandom_getUint32 (deRandom* rnd);
|
D | deMathTest.c | 98 testSingleInt32ToFloat((deInt32)deRandom_getUint32(&rnd)); in testInt32ToFloat()
|
D | deInt32Test.c | 149 deUint32 val = (deRandom_getUint32(&rnd) & ((1u<<numBits)-1)) | (1u<<numBits); in deInt32_selfTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence/ |
D | vktReconvergenceTests.cpp | 363 deUint32 maskIdx = deRandom_getUint32(&rnd) % numMasks; in genIf() 368 deUint32 localIndexCmp = deRandom_getUint32(&rnd) % 128; in genIf() 382 deUint32 randElse = (deRandom_getUint32(&rnd) % 100); in genIf() 407 deUint32 iterCount = (deRandom_getUint32(&rnd) % 5) + 1; in genForUnif() 422 deUint32 iterCount = (deRandom_getUint32(&rnd) % 5) + 1; in genDoWhileUnif() 508 if ((deRandom_getUint32(&rnd) % 100) < 10) in genBreak() 530 if ((deRandom_getUint32(&rnd) % 100) < 10) in genContinue() 553 if ((deRandom_getUint32(&rnd) % 100) < 10) in genElect() 557 if (callNesting > 0 && (deRandom_getUint32(&rnd) % 100) < 30) in genElect() 572 deUint32 r = deRandom_getUint32(&rnd) % 100; in genReturn() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 91 m_size = (deRandom_getUint32(&random) % 1024) + 7; in BufferAllocator() 93 m_usage = 1 << (deRandom_getUint32(&random) % 9); in BufferAllocator() 95 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in BufferAllocator() 169 m_colorFormat = (VkFormat)linearformats[deRandom_getUint32(&random) % linearformats.size()]; in ImageAllocator() 171 m_colorFormat = (VkFormat)optimalformats[deRandom_getUint32(&random) % optimalformats.size()]; in ImageAllocator() 177 m_size = tcu::IVec2((deRandom_getUint32(&random) % 16 + 3) & ~(widthAlignment - 1), in ImageAllocator() 178 (deRandom_getUint32(&random) % 16 + 3) & ~(heightAlignment - 1)); in ImageAllocator() 180 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in ImageAllocator() 611 int a = deRandom_getUint32(&m_random) % testCycles; in iterate() 612 int b = deRandom_getUint32(&m_random) % testCycles; in iterate()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRandom.hpp | 55 deUint32 getUint32 (void) { return deRandom_getUint32(&m_rnd); } in getUint32() 56 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); } in getUint16() 57 deUint8 getUint8 (void) { return (deUint8)deRandom_getUint32(&m_rnd); } in getUint8()
|
/third_party/vk-gl-cts/framework/delibs/deutil/ |
D | deTimerTest.c | 57 …int interval = minInterval + (int)(deRandom_getUint32(&rnd) % (deUint32)(maxInterval-minInterval… in deTimer_selfTest()
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | deMemPool.c | 177 if ((deRandom_getUint32(&parent->failRandom) & 16383) <= 15) in createPoolInternal() 210 deRandom_init(&pool->failRandom, parent ? deRandom_getUint32(&parent->failRandom) : 0x1234abcd); in createPoolInternal() 433 if ((deRandom_getUint32(&pool->failRandom) & 16383) <= 15) in deMemPool_allocInternal()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 237 …return GLValue::Short::create((min == max ? min : (deInt16)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 246 …return GLValue::Ushort::create((min == max ? min : (deUint16)(min + (deRandom_getUint32(&rnd) % (m… in getRandom() 255 …return GLValue::Byte::create((min == max ? min : (deInt8)(min + (deRandom_getUint32(&rnd) % (max.t… in getRandom() 264 …return GLValue::Ubyte::create((min == max ? min : (deUint8)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 273 …return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint… in getRandom() 294 …return GLValue::Int::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32… in getRandom() 303 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom() 1436 deUint32 x1 = min + deRandom_getUint32(&rnd) % (max - min); in createQuadsPacked() 1437 deUint32 x2 = min + deRandom_getUint32(&rnd) % (max - x1); in createQuadsPacked() 1439 deUint32 y1 = min + deRandom_getUint32(&rnd) % (max - min); in createQuadsPacked() [all …]
|
D | glsDrawTest.cpp | 681 …return GLValue::Short::create((min == max ? min : (deInt16)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 690 …return GLValue::Ushort::create((min == max ? min : (deUint16)(min + (deRandom_getUint32(&rnd) % (m… in getRandom() 699 …return GLValue::Byte::create((min == max ? min : (deInt8)(min + (deRandom_getUint32(&rnd) % (max.t… in getRandom() 708 …return GLValue::Ubyte::create((min == max ? min : (deUint8)(min + (deRandom_getUint32(&rnd) % (max… in getRandom() 717 …return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint… in getRandom() 738 …return GLValue::Int::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32… in getRandom() 747 …return GLValue::Uint::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint3… in getRandom() 1625 const deUint32 x = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() 1626 const deUint32 y = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() 1627 const deUint32 z = deRandom_getUint32(&rnd) % limit10; in generatePackedArray() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateTests.cpp | 1127 if (deRandom_getUint32(&m_random) % 10 == 0) in iterate() 1128 numWrites = deRandom_getUint32(&m_random) % 20 + 1; in iterate() 1137 bool rare = (deRandom_getUint32(&m_random) % 100u >= (firstHalf ? 98u : 80u)); in iterate() 1149 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate() 1151 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate() 1157 deRandom_getUint32(&m_random) % 10u, writes}; in iterate() 1190 descWrite.offset = (deRandom_getUint32(&m_random) % kNumOffsets) * 256u; in iterate() 1191 descWrite.bufferId = deRandom_getUint32(&m_random) % kNumBuffers; in iterate()
|
D | vktBindingDescriptorSetRandomTests.cpp | 395 return (deRandom_getUint32(rnd) % (max - min + 1)) + min; in randRange()
|
/third_party/vk-gl-cts/execserver/tools/ |
D | xsTest.cpp | 989 ((deUint32*)data)[ndx] = deRandom_getUint32(&rnd); 998 int blockSize = 1 + deRandom_getUint32(&rnd) % (dataSize-curPos); 1016 …int numToRead = 1 + deRandom_getUint32(&rnd) % deMin(dataSize-curPos, DE_LENGTH_OF_ARRAY(block)…
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 941 … setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xff) - 64.0f)/2.0f); in iterate() 943 setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xf) - 4.0f)/2.0f); in iterate() 946 setDataInt(ptrs[i], dataTypes[i], j, (deRandom_getUint32(&rnd) & 0xff) - 128); in iterate()
|
D | vktComputeZeroInitializeWorkgroupMemoryTests.cpp | 558 cases[i].numVariables = (deRandom_getUint32(&rnd) % 16) + 1; in AddTypeTests()
|
/third_party/vk-gl-cts/framework/delibs/dethread/ |
D | deThreadTest.c | 386 val = deRandom_getUint32(&random); in producerThread()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 1316 variables.lowerBound = deRandom_getUint32(&rnd) % quarter; in iterateCommandBegin() 1317 variables.upperBound = (deRandom_getUint32(&rnd) % quarter) + (3 * quarter); in iterateCommandBegin()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingAccelerationStructuresTests.cpp | 2231 asIndicesSet.insert(deRandom_getUint32(&rnd) % tlasCount); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryAccelerationStructuresTests.cpp | 3194 asIndicesSet.insert(deRandom_getUint32(&rnd) % tlasCount); in iterate()
|