Home
last modified time | relevance | path

Searched refs:inputInts (Results 1 – 3 of 3) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp89 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()
DvktSpvAsmNonSemanticInfoTests.cpp59 std::vector<int> inputInts(256, 0); in getComputeShaderSpec() local
64 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAG… in getComputeShaderSpec()
DvktSpvAsmInstructionTests.cpp1440 vector<deInt32> inputInts (numElements, 0); in createOpAtomicGroup() local
3701 vector<deInt32> inputInts (numElements, 0); in createSpecConstantGroup() local
3747 fillRandomScalars(rnd, -65536, 65536, &inputInts[0], numElements); in createSpecConstantGroup()
3751 outputInts1[ndx] = inputInts[ndx] + 42; in createSpecConstantGroup()
3752 outputInts2[ndx] = inputInts[ndx]; in createSpecConstantGroup()
3753 outputInts3[ndx] = inputInts[ndx] - 11200; in createSpecConstantGroup()
3754 outputInts4[ndx] = inputInts[ndx] + 1; in createSpecConstantGroup()
3755 outputInts5[ndx] = inputInts[ndx] - 42; in createSpecConstantGroup()
3888 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup()
3962 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup()