Lines Matching refs:value
143 bool isValueWithinVertexBufferOrZero (void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndexa);
146 static bool isExpectedValueFromVertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value);
828 return tcu::TestStatus::fail("Invalid value(s) found");
902 // Log value information
910 // Result index and value
937 // or the maximum representable positive integer value (if the format is integer-based).
952 logMsg << ", Failed: expected a value within the buffer range or 0";
963 logMsg << ", Failed: unexpected value";
972 bool VertexAccessInstance::isValueWithinVertexBufferOrZero(void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndex)
976 const float normValue = *reinterpret_cast<const float*>(value);
1007 return isValueWithinBufferOrZero(vertexBuffer, vertexBufferSize, value, sizeof(deUint32));
1011 bool VertexAccessInstance::isExpectedValueFromVertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value)
1018 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint64 *>(value);
1023 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint32 *>(value);
1031 return bufferPtr[vertexIndex] == *reinterpret_cast<const deInt64 *>(value);
1036 return bufferPtr[vertexIndex] == *reinterpret_cast<const deInt32 *>(value);
1043 return areEqual(bufferPtr[vertexIndex], *reinterpret_cast<const float *>(value));
1057 return areEqual(normValue, *reinterpret_cast<const float *>(value));