Home
last modified time | relevance | path

Searched refs:inputData (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/tests/
DDelayLineEffectTest.h29 std::array<float, 5> inputData {1, 0, 0.5, 0.25, 0}; in TEST()
31 e1(inputData[i]); in TEST()
33 EXPECT_EQ(inputData[0], 0); in TEST()
34 EXPECT_EQ(inputData[1], 1); in TEST()
35 EXPECT_EQ(inputData[2], 0); in TEST()
36 EXPECT_EQ(inputData[3], 0.5); in TEST()
37 EXPECT_EQ(inputData[4], 0.25); in TEST()
41 std::array<float, 5> inputData {1, 0, 0.5, 0.25, 0}; in TEST()
43 e1(inputData[i]); in TEST()
45 EXPECT_EQ(inputData[0], 1); in TEST()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsShuffleTests.cpp470 subgroups::SSBOData inputData[2]; in noSSBOtest() local
471 inputData[0].format = caseDef.format; in noSSBOtest()
472 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
473 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
474 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
475 inputData[0].binding = 0u; in noSSBOtest()
477 inputData[1].format = FORMAT_R32_UINT; in noSSBOtest()
478 inputData[1].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
479 inputData[1].numElements = inputData[0].numElements; in noSSBOtest()
480 inputData[1].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
[all …]
DglcSubgroupsBallotTests.cpp388 subgroups::SSBOData inputData[1]; in noSSBOtest() local
389 inputData[0].format = FORMAT_R32_UINT; in noSSBOtest()
390 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
391 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
392 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
393 inputData[0].binding = 0u; in noSSBOtest()
396 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1, checkVertexPip… in noSSBOtest()
398 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest()
400 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1… in noSSBOtest()
402 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1… in noSSBOtest()
[all …]
DglcSubgroupsBallotBroadcastTests.cpp439 subgroups::SSBOData inputData[1]; in noSSBOtest() local
440 inputData[0].format = caseDef.format; in noSSBOtest()
441 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
442 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
443 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
446 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1, checkVertexPip… in noSSBOtest()
448 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest()
450 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1… in noSSBOtest()
452 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, inputData, 1… in noSSBOtest()
476 subgroups::SSBOData inputData[1]; in test() local
[all …]
DglcSubgroupsQuadTests.cpp583 subgroups::SSBOData inputData; in noSSBOtest() local
584 inputData.format = caseDef.format; in noSSBOtest()
585 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
586 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
587 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
588 inputData.binding = 0u; in noSSBOtest()
591 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPi… in noSSBOtest()
593 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertex… in noSSBOtest()
595 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
597 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData,… in noSSBOtest()
[all …]
DglcSubgroupsPartitionedTests.cpp771 subgroups::SSBOData inputData; in noSSBOtest() local
772 inputData.format = caseDef.format; in noSSBOtest()
773 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
774 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
775 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
776 inputData.binding = 0u; in noSSBOtest()
779 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPi… in noSSBOtest()
781 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertex… in noSSBOtest()
783 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
785 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData,… in noSSBOtest()
[all …]
DglcSubgroupsClusteredTests.cpp682 subgroups::SSBOData inputData; in noSSBOtest() local
683 inputData.format = caseDef.format; in noSSBOtest()
684 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
685 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
686 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
687 inputData.binding = 0u; in noSSBOtest()
690 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPi… in noSSBOtest()
692 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertex… in noSSBOtest()
694 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
696 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData,… in noSSBOtest()
[all …]
DglcSubgroupsVoteTests.cpp638 subgroups::SSBOData inputData; in noSSBOtest() local
639 inputData.format = caseDef.format; in noSSBOtest()
640 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
641 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
642inputData.initializeType = OPTYPE_ALLEQUAL == caseDef.opType ? subgroups::SSBOData::InitializeZero… in noSSBOtest()
645 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPi… in noSSBOtest()
647 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertex… in noSSBOtest()
649 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
651 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
653 …return subgroups::makeFragmentFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkFragme… in noSSBOtest()
[all …]
DglcSubgroupsArithmeticTests.cpp835 subgroups::SSBOData inputData; in noSSBOtest() local
836 inputData.format = caseDef.format; in noSSBOtest()
837 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
838 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
839 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
840 inputData.binding = 0u; in noSSBOtest()
843 …return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPi… in noSSBOtest()
845 …return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertex… in noSSBOtest()
847 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, … in noSSBOtest()
849 …return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData,… in noSSBOtest()
[all …]
DglcSubgroupsBasicTests.cpp1394 subgroups::SSBOData inputData[inputCount]; in test() local
1396 inputData[0].format = subgroups::FORMAT_R32_UINT; in test()
1397 inputData[0].layout = subgroups::SSBOData::LayoutStd430; in test()
1398 inputData[0].numElements = 1; in test()
1399 inputData[0].initializeType = subgroups::SSBOData::InitializeZero; in test()
1400 inputData[0].binding = 4u; in test()
1401 inputData[0].stages = subgroups::SHADER_STAGE_VERTEX_BIT; in test()
1403 inputData[1].format = subgroups::FORMAT_R32_UINT; in test()
1404 inputData[1].layout = subgroups::SSBOData::LayoutStd430; in test()
1405 inputData[1].numElements = 1; in test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmWorkgroupMemoryTests.cpp282 vector<double> inputData = getFloat64s(rnd, numElements); in addComputeWorkgroupMemoryTests() local
288 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests()
295 …spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
309 vector<float> inputData = getFloat32s(rnd, numElements); in addComputeWorkgroupMemoryTests() local
315 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests()
321 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
341 vector<deFloat16> inputData = getFloat16s(rnd, numElements); in addComputeWorkgroupMemoryTests() local
347 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests()
356 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
374 vector<deInt64> inputData = getInt64s(rnd, numElements); in addComputeWorkgroupMemoryTests() local
[all …]
DvktSpvAsmUboMatrixPaddingTests.cpp129 vector<tcu::Vec4> inputData; in addComputeUboMatrixPaddingTest() local
132 inputData.reserve(numElements); in addComputeUboMatrixPaddingTest()
134 inputData.push_back(tcu::randomVec4(rnd)); in addComputeUboMatrixPaddingTest()
139 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUF… in addComputeUboMatrixPaddingTest()
141 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest()
160 vector<tcu::Vec4> inputData(numDataPoints); in addGraphicsUboMatrixPaddingTest() local
162 inputData[numIdx] = tcu::randomVec4(rnd); in addGraphicsUboMatrixPaddingTest()
164 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFOR… in addGraphicsUboMatrixPaddingTest()
166 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsUboMatrixPaddingTest()
DvktSpvAsmIndexingTests.cpp76 vector<float> inputData; in addComputeIndexingStructTests() local
79 inputData.reserve(numInputFloats); in addComputeIndexingStructTests()
81 inputData.push_back(rnd.getFloat()); in addComputeIndexingStructTests()
231 spec.inputs.push_back(BufferSp(new Float32Buffer(inputData))); in addComputeIndexingStructTests()
239 …outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() … in addComputeIndexingStructTests()
292 vector<float> inputData; in addGraphicsIndexingStructTests() local
295 inputData.reserve(numInputFloats); in addGraphicsIndexingStructTests()
297 inputData.push_back(rnd.getFloat()); in addGraphicsIndexingStructTests()
429 …resources.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STO… in addGraphicsIndexingStructTests()
485 …outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() … in addGraphicsIndexingStructTests()
[all …]
DvktSpvAsmImageSamplerTests.cpp757 vector<tcu::Vec4> inputData; in addComputeImageSamplerTest() local
759 inputData.reserve(numDataPoints); in addComputeImageSamplerTest()
762 inputData.push_back(tcu::randomVec4(rnd)); in addComputeImageSamplerTest()
801 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Descripto… in addComputeImageSamplerTest()
814 for (size_t i = 0; i < inputData.size(); i++) in addComputeImageSamplerTest()
815 inputData[i] = tcu::Vec4(1.0f) - inputData[i]; in addComputeImageSamplerTest()
817 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
822 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
1052 vector<tcu::Vec4> inputData(numDataPoints); in addGraphicsImageSamplerTest() local
1054 inputData[numIdx] = tcu::randomVec4(rnd); in addGraphicsImageSamplerTest()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp84 inputData(inputDataIn), in TestData()
93 const void *inputData; member
108 glBufferData(GL_ARRAY_BUFFER, dataSize, test.inputData, GL_STATIC_DRAW); in setupTest()
118 test.inputData); in setupTest()
290 static void InitTestData(std::array<GLfloat, kVertexCount> &inputData, in InitTestData() argument
295 inputData[count] = static_cast<GLfloat>(count); in InitTestData()
296 expectedData[count] = inputData[count]; in InitTestData()
309 std::array<GLubyte, kVertexCount> inputData = { in TEST_P() local
314 expectedData[i] = inputData[i]; in TEST_P()
317 TestData data(GL_UNSIGNED_BYTE, GL_FALSE, Source::IMMEDIATE, inputData.data(), in TEST_P()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsQuadTests.cpp245 subgroups::SSBOData inputData; in noSSBOtest() local
246 inputData.format = caseDef.format; in noSSBOtest()
247 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
248 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
249 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
253 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
254 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
255 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
256 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
268 const subgroups::SSBOData inputData in test() local
[all …]
DvktSubgroupsClusteredTests.cpp216 const subgroups::SSBOData inputData = in noSSBOtest() local
226 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
227 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
228 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
229 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
241 subgroups::SSBOData inputData; in test() local
242 inputData.format = caseDef.format; in test()
243 inputData.layout = subgroups::SSBOData::LayoutStd430; in test()
244 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in test()
245 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in test()
[all …]
DvktSubgroupsBallotTests.cpp831 const subgroups::SSBOData inputData = in noSSBOtest() local
841 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
842 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
843 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
844 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
855 const subgroups::SSBOData inputData = in test() local
864 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComput… in test()
872 …TestStatus result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL… in test()
886 const subgroups::SSBOData inputData = in test() local
897 …return subgroups::allStages(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipeli… in test()
[all …]
DvktSubgroupsArithmeticTests.cpp288 const subgroups::SSBOData inputData = in noSSBOtest() local
298 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
299 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
300 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
301 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
312 const subgroups::SSBOData inputData = in test() local
321 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComput… in test()
329 …TestStatus result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL… in test()
343 const subgroups::SSBOData inputData = in test() local
354 …return subgroups::allStages(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipeli… in test()
[all …]
DvktSubgroupsBallotBroadcastTests.cpp315 const subgroups::SSBOData inputData = in noSSBOtest() local
325 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
326 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
327 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
328 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
339 const subgroups::SSBOData inputData = in test() local
348 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComput… in test()
350 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComput… in test()
355 const subgroups::SSBOData inputData = in test() local
366 …return subgroups::allStages(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipeli… in test()
[all …]
DvktSubgroupsShuffleTests.cpp272 const subgroups::SSBOData inputData[2] in noSSBOtest() local
290 …eturn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, che… in noSSBOtest()
291 …urn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, che… in noSSBOtest()
292 …:makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, che… in noSSBOtest()
293 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, che… in noSSBOtest()
304 const subgroups::SSBOData inputData[2] in test() local
321 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, checkCompute… in test()
329 …TestStatus result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL,… in test()
343 const subgroups::SSBOData inputData[2] in test() local
365 …return subgroups::allStages(context, VK_FORMAT_R32_UINT, inputData, 2, DE_NULL, checkVertexPipelin… in test()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp171 inputData(inputDataIn), in TestData()
181 const void *inputData; member
198 glBufferData(GL_ARRAY_BUFFER, dataSize, test.inputData, GL_STATIC_DRAW); in setupTest()
208 test.inputData); in setupTest()
384 static void InitTestData(std::array<GLfloat, kVertexCount> &inputData, in InitTestData() argument
389 inputData[count] = static_cast<GLfloat>(count); in InitTestData()
390 expectedData[count] = inputData[count]; in InitTestData()
425 std::array<GLubyte, kVertexCount> inputData = { in TEST_P() local
430 expectedData[i] = inputData[i]; in TEST_P()
433 TestData data(GL_UNSIGNED_BYTE, GL_FALSE, Source::IMMEDIATE, inputData.data(), in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmathutil.cpp72 const RGB9E5Data *inputData = reinterpret_cast<const RGB9E5Data *>(&input); in convert999E5toRGBFloats() local
75 inputData->R * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); in convert999E5toRGBFloats()
77 inputData->G * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); in convert999E5toRGBFloats()
79 inputData->B * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); in convert999E5toRGBFloats()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DComputeLayoutMemoryBufferTests.cpp252 std::vector<uint8_t> inputData; // The whole SSBO data in TEST_P() local
255 auto PushU32 = [&inputData](uint32_t u32) { in TEST_P()
256 inputData.emplace_back((u32 >> 0) & 0xff); in TEST_P()
257 inputData.emplace_back((u32 >> 8) & 0xff); in TEST_P()
258 inputData.emplace_back((u32 >> 16) & 0xff); in TEST_P()
259 inputData.emplace_back((u32 >> 24) & 0xff); in TEST_P()
261 auto AlignTo = [&inputData](uint32_t alignment, uint8_t code) { in TEST_P()
262 uint32_t target = Align(inputData.size(), alignment); in TEST_P()
263 uint32_t bytes = target - inputData.size(); in TEST_P()
265 inputData.emplace_back(code); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
Dmathutil.cpp73 const RGB9E5Data *inputData = reinterpret_cast<const RGB9E5Data *>(&input); in convert999E5toRGBFloats() local
76 pow(2.0f, static_cast<float>(inputData->E) - g_sharedexp_biased_mantissabits); in convert999E5toRGBFloats()
78 *red = inputData->R * pow2_exp; in convert999E5toRGBFloats()
79 *green = inputData->G * pow2_exp; in convert999E5toRGBFloats()
80 *blue = inputData->B * pow2_exp; in convert999E5toRGBFloats()

1234