Lines Matching refs:buffer
155 bool isValueWithinBuffer (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t valueSizeInBytes)
157 const deUint8* byteBuffer = reinterpret_cast<const deUint8*>(buffer);
171 bool isValueWithinBufferOrZero (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t valueSizeInBytes)
173 return isValueWithinBuffer(buffer, bufferSize, valuePtr, valueSizeInBytes) || isValueZero(valuePtr, valueSizeInBytes);
221 void populateBufferWithTestValues (void* buffer, VkDeviceSize size, VkFormat format)
230 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = valueIndex;
234 reinterpret_cast<deInt32*>(buffer)[scalarNdx] = -deInt32(valueIndex);
238 reinterpret_cast<float*>(buffer)[scalarNdx] = float(valueIndex);
247 reinterpret_cast<deUint32*>(buffer)[scalarNdx] = (a << 30) | (b << 20) | (g << 10) | r;
309 // Create command buffer