Home
last modified time | relevance | path

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

/external/angle/src/tests/gl_tests/
DGeometryShaderTest.cpp522 constexpr GLsizei kPropCount = static_cast<GLsizei>(ArraySize(kProps)); in TEST_P() local
526 glGetProgramResourceiv(program, GL_UNIFORM, index, kPropCount, kProps, kPropCount, &length, in TEST_P()
579 constexpr GLsizei kPropCount = static_cast<GLsizei>(ArraySize(kProps)); in TEST_P() local
585 glGetProgramResourceiv(program, GL_PROGRAM_INPUT, index, kPropCount, kProps, kPropCount, in TEST_P()
592 glGetProgramResourceiv(program, GL_PROGRAM_OUTPUT, index, kPropCount, kProps, kPropCount, in TEST_P()
598 glGetProgramResourceiv(program, GL_UNIFORM, index, kPropCount, kProps, kPropCount, &length, in TEST_P()
605 glGetProgramResourceiv(program, GL_UNIFORM_BLOCK, index, kPropCount, kProps, kPropCount, in TEST_P()
636 glGetProgramResourceiv(programWithSSBO, GL_SHADER_STORAGE_BLOCK, index, kPropCount, kProps, in TEST_P()
637 kPropCount, &length, params.data()); in TEST_P()
643 glGetProgramResourceiv(programWithSSBO, GL_BUFFER_VARIABLE, index, kPropCount, kProps, in TEST_P()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp876 constexpr int kPropCount = 5; in getShaderStorageBlockMemberInfo() local
877 std::array<GLenum, kPropCount> props = { in getShaderStorageBlockMemberInfo()
879 std::array<GLint, kPropCount> params; in getShaderStorageBlockMemberInfo()
881 mFunctions->getProgramResourceiv(mProgramID, GL_BUFFER_VARIABLE, index, kPropCount, in getShaderStorageBlockMemberInfo()
882 props.data(), kPropCount, &length, params.data()); in getShaderStorageBlockMemberInfo()
883 ASSERT(kPropCount == length); in getShaderStorageBlockMemberInfo()
929 constexpr int kPropCount = 2; in getAtomicCounterBufferSizeMap() local
930 std::array<GLenum, kPropCount> props = {{GL_BUFFER_BINDING, GL_BUFFER_DATA_SIZE}}; in getAtomicCounterBufferSizeMap()
931 std::array<GLint, kPropCount> params; in getAtomicCounterBufferSizeMap()
933 mFunctions->getProgramResourceiv(mProgramID, GL_ATOMIC_COUNTER_BUFFER, index, kPropCount, in getAtomicCounterBufferSizeMap()
[all …]