Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Droundeven_test.cpp38 } float_data[] = { in TEST() local
53 for (unsigned i = 0; i < ARRAY_SIZE(float_data); i++) { in TEST()
54 float output = _mesa_roundevenf(float_data[i].input); in TEST()
55 EXPECT_TRUE(memcmp(&float_data[i].expected, &output, sizeof(float)) == 0) in TEST()
56 << "Subtest " << i << " float value: expected " << float_data[i].expected << " from " in TEST()
57 << "_mesa_roundevenf(" << float_data[i].input << " but got " << output << "\n"; in TEST()
61 for (unsigned i = 0; i < ARRAY_SIZE(float_data); i++) { in TEST()
62 float output = _mesa_roundevenf(-float_data[i].input); in TEST()
63 float negated_expected = -float_data[i].expected; in TEST()
66 << "_mesa_roundevenf(" << -float_data[i].input << " but got " << output << "\n"; in TEST()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLEScontext.cpp1030 …GLfloat* float_data = reinterpret_cast<GLfloat*>(static_cast<unsigned char*>(dataOut) + index*stri… in convertFixedIndirectLoop() local
1033 float_data[j] = X2F(fixed_data[j]); in convertFixedIndirectLoop()