Searched refs:inputInts (Results 1 – 6 of 6) sorted by relevance
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 89 std::vector<deInt32> inputInts (m_numInputElements, 0); in getBytes() local 92 fillRandomScalars(rnd, 1, 100, &inputInts.front(), m_numInputElements); in getBytes() 100 deMemcpy(&bytes.front(), &inputInts.front(), inputSize); in getBytes() 114 case OPATOMIC_IADD: bytesAsInt[0] += inputInts[ndx]; break; in getBytes() 115 case OPATOMIC_ISUB: bytesAsInt[0] -= inputInts[ndx]; break; in getBytes() 118 case OPATOMIC_LOAD: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes() 119 case OPATOMIC_STORE: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes() 120 case OPATOMIC_COMPEX: bytesAsInt[ndx] = (inputInts[ndx] % 2) == 0 ? -1 : 1; break; in getBytes() 133 bytesAsInt[ndx] = inputInts[ndx] % 2; in getBytes()
|
D | vktSpvAsmNonSemanticInfoTests.cpp | 61 std::vector<int> inputInts(256, 0); in getComputeShaderSpec() local 66 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAG… in getComputeShaderSpec()
|
D | vktSpvAsmInstructionTests.cpp | 1488 vector<deInt32> inputInts (numElements, 0); in createOpAtomicGroup() local 3761 vector<deInt32> inputInts (numElements, 0); in createSpecConstantGroup() local 3807 fillRandomScalars(rnd, -65536, 65536, &inputInts[0], numElements); in createSpecConstantGroup() 3811 outputInts1[ndx] = inputInts[ndx] + 42; in createSpecConstantGroup() 3812 outputInts2[ndx] = inputInts[ndx]; in createSpecConstantGroup() 3813 outputInts3[ndx] = inputInts[ndx] - 11200; in createSpecConstantGroup() 3814 outputInts4[ndx] = inputInts[ndx] + 1; in createSpecConstantGroup() 3815 outputInts5[ndx] = inputInts[ndx] - 42; in createSpecConstantGroup() 3948 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup() 4022 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 89 std::vector<deInt32> inputInts (m_numInputElements, 0); in getBytes() local 92 fillRandomScalars(rnd, 1, 100, &inputInts.front(), m_numInputElements); in getBytes() 100 deMemcpy(&bytes.front(), &inputInts.front(), inputSize); in getBytes() 114 case OPATOMIC_IADD: bytesAsInt[0] += inputInts[ndx]; break; in getBytes() 115 case OPATOMIC_ISUB: bytesAsInt[0] -= inputInts[ndx]; break; in getBytes() 118 case OPATOMIC_LOAD: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes() 119 case OPATOMIC_STORE: bytesAsInt[ndx] = inputInts[ndx]; break; in getBytes() 120 case OPATOMIC_COMPEX: bytesAsInt[ndx] = (inputInts[ndx] % 2) == 0 ? -1 : 1; break; in getBytes() 133 bytesAsInt[ndx] = inputInts[ndx] % 2; in getBytes()
|
D | vktSpvAsmNonSemanticInfoTests.cpp | 61 std::vector<int> inputInts(256, 0); in getComputeShaderSpec() local 66 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAG… in getComputeShaderSpec()
|
D | vktSpvAsmInstructionTests.cpp | 1488 vector<deInt32> inputInts (numElements, 0); in createOpAtomicGroup() local 3761 vector<deInt32> inputInts (numElements, 0); in createSpecConstantGroup() local 3807 fillRandomScalars(rnd, -65536, 65536, &inputInts[0], numElements); in createSpecConstantGroup() 3811 outputInts1[ndx] = inputInts[ndx] + 42; in createSpecConstantGroup() 3812 outputInts2[ndx] = inputInts[ndx]; in createSpecConstantGroup() 3813 outputInts3[ndx] = inputInts[ndx] - 11200; in createSpecConstantGroup() 3814 outputInts4[ndx] = inputInts[ndx] + 1; in createSpecConstantGroup() 3815 outputInts5[ndx] = inputInts[ndx] - 42; in createSpecConstantGroup() 3948 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup() 4022 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup()
|