Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp110 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() local
114 case OPATOMIC_IADD: bytesAsInt[0] += inputInts[ndx]; break; in getBytes()
115 case OPATOMIC_ISUB: bytesAsInt[0] -= inputInts[ndx]; break; in getBytes()
116 case OPATOMIC_IINC: bytesAsInt[0]++; break; in getBytes()
117 case OPATOMIC_IDEC: bytesAsInt[0]--; 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()
131 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() local
133 bytesAsInt[ndx] = inputInts[ndx] % 2; in getBytes()