/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_write_1D.cpp | 107 float *inputValues = NULL; in test_write_image_1D() local 111 inputValues = (float *)(char*)imageValues; in test_write_image_1D() 115 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_1D() 120 inputValues = (float *)(char*)imageValues; in test_write_image_1D() 124 inputValues[ i++ ] = -0.5f; in test_write_image_1D() 125 inputValues[ i++ ] = 0.5f; in test_write_image_1D() 126 inputValues[ i++ ] = 2.f; in test_write_image_1D() 127 inputValues[ i++ ] = 0.5f; in test_write_image_1D() 134 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D() 135 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D() [all …]
|
D | test_write_1D_array.cpp | 120 float *inputValues = (float *)(char*)imageValues + y * imageInfo->width * 4; in test_write_image_1D_array() local 124 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_1D_array() 129 float *inputValues = (float *)(char*)imageValues; in test_write_image_1D_array() local 133 inputValues[ i++ ] = -0.5f; in test_write_image_1D_array() 134 inputValues[ i++ ] = 0.5f; in test_write_image_1D_array() 135 inputValues[ i++ ] = 2.f; in test_write_image_1D_array() 136 inputValues[ i++ ] = 0.5f; in test_write_image_1D_array() 143 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D_array() 144 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D_array() 145 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_1D_array() [all …]
|
D | test_write_2D_array.cpp | 146 …float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4 + imageInfo->height * … in test_write_image_2D_array() local 150 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_2D_array() 156 float *inputValues = (float *)(char*)imageValues; in test_write_image_2D_array() local 159 inputValues[ i++ ] = -0.5f; in test_write_image_2D_array() 160 inputValues[ i++ ] = 0.5f; in test_write_image_2D_array() 161 inputValues[ i++ ] = 2.f; in test_write_image_2D_array() 162 inputValues[ i++ ] = 0.5f; in test_write_image_2D_array() 169 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_2D_array() 170 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_2D_array() 171 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_2D_array() [all …]
|
D | test_write_3D.cpp | 149 …float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4 + imageInfo->height * … in test_write_image_3D() local 153 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image_3D() 159 float *inputValues = (float *)(char*)imageValues; in test_write_image_3D() local 163 inputValues[ i++ ] = -0.5f; in test_write_image_3D() 164 inputValues[ i++ ] = 0.5f; in test_write_image_3D() 165 inputValues[ i++ ] = 2.f; in test_write_image_3D() 166 inputValues[ i++ ] = 0.5f; in test_write_image_3D() 173 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_3D() 174 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_3D() 175 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_3D() [all …]
|
D | test_write_image.cpp | 126 float *inputValues = (float *)(char*)imageValues + imageInfo->width * y * 4; in test_write_image() local 130 inputValues[ i ] = (float)(pixel_value/255.0f); in test_write_image() 135 float *inputValues = (float *)(char*)imageValues; in test_write_image() local 139 inputValues[ i++ ] = -0.5f; in test_write_image() 140 inputValues[ i++ ] = 0.5f; in test_write_image() 141 inputValues[ i++ ] = 2.0f; in test_write_image() 142 inputValues[ i++ ] = 0.5f; in test_write_image() 149 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image() 150 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image() 151 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderFConvertTests.cpp | 549 auto& inputValues = InputGenerator::getInstance().getInputValues16(); in iterate() local 550 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vectorL… in iterate() 554 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vector… in iterate() 557 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate() 563 inputMemory = packFloats(inputValues, m_params.vectorLength); in iterate() 569 auto& inputValues = InputGenerator::getInstance().getInputValues32(); in iterate() local 570 …inputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float32>(inputValues.size(), m_params.vectorL… in iterate() 574 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float16>(inputValues.size(), m_params.vector… in iterate() 577 …outputBufferSizeInfo = BufferSizeInfo::calculate<tcu::Float64>(inputValues.size(), m_params.vector… in iterate() 583 inputMemory = packFloats(inputValues, m_params.vectorLength); in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 157 std::vector<deUint32> inputValues (m_numValues); in iterate() local 162 for (int ndx = 0; ndx < (int)inputValues.size(); ndx++) in iterate() 163 inputValues[ndx] = rnd.getUint32(); in iterate() 187 for (deUint32 ndx = 0; ndx < de::min(valueInfo.arraySize, (deUint32)inputValues.size()); ndx++) in iterate() 188 …t32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValues[ndx]; in iterate() 219 TCU_CHECK(valueInfo.arraySize == (deUint32)inputValues.size()); in iterate() 223 const deUint32 ref = ~inputValues[ndx]; in iterate() 279 std::vector<deUint32> inputValues (m_numValues); in iterate() local 284 for (int ndx = 0; ndx < (int)inputValues.size(); ndx++) in iterate() 285 inputValues[ndx] = rnd.getUint32(); in iterate() [all …]
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3188 float *inputValues = (float *)data; in create_random_image_data() local 3198 inputValues[ i++ ] = 0.f; in create_random_image_data() 3199 inputValues[ i++ ] = 1.f; in create_random_image_data() 3200 inputValues[ i++ ] = -1.f; in create_random_image_data() 3201 inputValues[ i++ ] = 2.f; in create_random_image_data() 3203 … inputValues[ i ] = get_random_float( -HALF_MAX - 2.f, HALF_MAX + 2.f, d ); in create_random_image_data() 3212 inputValues[ i++ ] = INFINITY; in create_random_image_data() 3213 inputValues[ i++ ] = 0x1.0p14f; in create_random_image_data() 3214 inputValues[ i++ ] = 0x1.0p31f; in create_random_image_data() 3215 inputValues[ i++ ] = 0x1.0p32f; in create_random_image_data() [all …]
|
/external/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 176 const deUint32* inputValues = reinterpret_cast<deUint32*>(&inputBytes.front()); in compareWithRetvals() local 182 if (!compareRetVals<OpAtomic>(inputValues, inputValuesCount, resultValue, values)) in compareWithRetvals() 206 …static bool compareRetVals (const deUint32* inputValues, const size_t inputValuesCount, const deUi… in compareRetVals() argument 228 case OPATOMIC_IADD: previousResult -= inputValues[ndx]; break; in compareRetVals() 229 case OPATOMIC_ISUB: previousResult += inputValues[ndx]; break; in compareRetVals()
|
/external/protobuf/js/binary/ |
D | decoder_test.js | 112 var inputValues = []; 118 inputValues.push(val); 125 inputValues.push(val); 138 for (var i = 0; i < inputValues.length; i++) { 139 assertEquals(inputValues[i], readValue.call(decoder));
|
D | reader_test.js | 264 var inputValues = []; 270 inputValues.push({ 280 inputValues.push({ 309 for (var i = 0; i < inputValues.length; i++) { 310 var expected = inputValues[i];
|
/external/deqp/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelPadding.cpp | 252 BufferStructure inputValues {kA, kB, kC, kInputPaddingByte}; in iterate() local 261 deMemcpy(inputBufferPtr, &inputValues, sizeof(inputValues)); in iterate()
|
/external/angle/src/tests/gl_tests/ |
D | ComputeShaderTest.cpp | 497 GLuint inputValues[] = {200}; in TEST_P() local 502 inputValues); in TEST_P() 507 inputValues); in TEST_P() 567 GLuint inputValues[] = {200}; in TEST_P() local 572 inputValues); in TEST_P() 577 inputValues); in TEST_P() 653 GLuint inputValues[kWidth][kHeight] = {}; in TEST_P() local 663 inputValues); in TEST_P() 711 GLuint inputValues[] = {200}; in TEST_P() local 716 inputValues); in TEST_P() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 982 …ibuteDescription> getVertexAttributeDescriptions (const vector<Value>& inputValues, const ValueBuf… in getVertexAttributeDescriptions() argument 1000 for (size_t inputNdx = 0; inputNdx < inputValues.size(); inputNdx++) in getVertexAttributeDescriptions() 1002 const Value& input = inputValues[inputNdx]; in getVertexAttributeDescriptions() 1034 const vector<Value>& inputValues, in createPipeline() argument 1047 …tributeDescription> vertexAttribParams (getVertexAttributeDescriptions(inputValues, inputLayout)); in createPipeline() 1068 (inputValues.empty() ? 1u : 2u), // bindingCount in createPipeline()
|