Home
last modified time | relevance | path

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

1234

/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 …]
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 …]
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 …]
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/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/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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 …]
/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/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/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsQuadTests.cpp268 subgroups::SSBOData inputData; in noSSBOtest() local
269 inputData.format = caseDef.format; in noSSBOtest()
270 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
271 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
272 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
273 inputData.bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
277 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
278 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
279 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
280 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
[all …]
DvktSubgroupsClusteredTests.cpp239 const subgroups::SSBOData inputData = in noSSBOtest() local
250 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
251 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
252 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
253 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
277 subgroups::SSBOData inputData; in test() local
278 inputData.format = caseDef.format; in test()
279 inputData.layout = subgroups::SSBOData::LayoutStd430; in test()
280 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in test()
281 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsQuadTests.cpp268 subgroups::SSBOData inputData; in noSSBOtest() local
269 inputData.format = caseDef.format; in noSSBOtest()
270 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest()
271 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest()
272 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest()
273 inputData.bindingType = subgroups::SSBOData::BindingUBO; in noSSBOtest()
277 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
278 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
279 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
280 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
[all …]
DvktSubgroupsClusteredTests.cpp239 const subgroups::SSBOData inputData = in noSSBOtest() local
250 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
251 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
252 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
253 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
277 subgroups::SSBOData inputData; in test() local
278 inputData.format = caseDef.format; in test()
279 inputData.layout = subgroups::SSBOData::LayoutStd430; in test()
280 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in test()
281 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in test()
[all …]
DvktSubgroupsArithmeticTests.cpp311 const subgroups::SSBOData inputData = in noSSBOtest() local
322 …turn subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
323 …rn subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
324 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
325 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, che… in noSSBOtest()
348 const subgroups::SSBOData inputData = in test() local
359 …return subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOr… in test()
361 …return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComput… in test()
373 …result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComp… in test()
375 …result = subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkCompute… in test()
[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 …]

1234