Searched refs:inputInts (Results 1 – 2 of 2) sorted by relevance
/external/deqp/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 | vktSpvAsmInstructionTests.cpp | 674 vector<deInt32> inputInts (numElements, 0); in createOpAtomicGroup() local 2682 vector<deInt32> inputInts (numElements, 0); in createSpecConstantGroup() local 2727 fillRandomScalars(rnd, -65536, 65536, &inputInts[0], numElements); in createSpecConstantGroup() 2731 outputInts1[ndx] = inputInts[ndx] + 42; in createSpecConstantGroup() 2732 outputInts2[ndx] = inputInts[ndx]; in createSpecConstantGroup() 2733 outputInts3[ndx] = inputInts[ndx] - 11200; in createSpecConstantGroup() 2734 outputInts4[ndx] = inputInts[ndx] + 1; in createSpecConstantGroup() 2819 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup() 2883 spec.inputs.push_back(BufferSp(new Int32Buffer(inputInts))); in createSpecConstantGroup()
|