Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/tests/
DGLSnapshotShaders_unittest.cpp75 EXPECT_TRUE(compareParameter(GL_SHADER_TYPE, m_shader_state.type)); in changedStateCheck()
77 m_shader_state.deleteStatus)); in changedStateCheck()
79 m_shader_state.compileStatus)); in changedStateCheck()
81 m_shader_state.infoLogLength)); in changedStateCheck()
83 m_shader_state.sourceLength)); in changedStateCheck()
86 srcData.resize(m_shader_state.sourceLength); in changedStateCheck()
87 gl->glGetShaderSource(m_shader_name, m_shader_state.sourceLength, in changedStateCheck()
90 EXPECT_EQ(0, m_shader_state.source.length()) << "source is empty"; in changedStateCheck()
92 EXPECT_STREQ(m_shader_state.source.c_str(), srcData.data()); in changedStateCheck()
96 infoLogData.resize(m_shader_state.infoLogLength); in changedStateCheck()
[all …]