Lines Matching refs:m_descriptor
1066 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkVarying()
1091 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkVarying()
1093 std::string structVariable = variable.m_descriptor.m_name; in checkVarying()
1106 if (0 != variable.m_descriptor.m_n_array_elements) in checkVarying()
1108 for (GLuint i = 0; i < variable.m_descriptor.m_n_array_elements; i++) in checkVarying()
1143 result = verifyVarying(program, "", variable.m_descriptor, stream, is_input); in checkVarying()
1166 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkUniform()
1210 stream << "Failed to query program for uniforms in block: " << variable.m_descriptor.m_name in checkUniform()
1250 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkSSB()
1283 stream << "Failed to query program for buffer variable: " << variable.m_descriptor.m_name in checkSSB()
3765 , m_descriptor(var.m_descriptor.m_name.c_str(), var.m_descriptor.m_qualifiers.c_str(), in Variable()
3766 var.m_descriptor.m_expected_component, var.m_descriptor.m_expected_location, in Variable()
3767 … var.m_descriptor.m_builtin, var.m_descriptor.m_normalized, var.m_descriptor.m_n_array_elements, in Variable()
3768 var.m_descriptor.m_expected_stride_of_element, var.m_descriptor.m_offset) in Variable()
3771 m_descriptor.m_type = var.m_descriptor.m_type; in Variable()
3773 if (BUILTIN != var.m_descriptor.m_type) in Variable()
3775 m_descriptor.m_interface = var.m_descriptor.m_interface; in Variable()
3787 return m_descriptor.GetDefinition(flavour, m_storage); in GetDefinition()
3798 if (0 == m_descriptor.m_n_array_elements) in GetStride()
3800 variable_stride = m_descriptor.m_expected_stride_of_element; in GetStride()
3804 variable_stride = m_descriptor.m_expected_stride_of_element * m_descriptor.m_n_array_elements; in GetStride()
3816 if (BUILTIN == m_descriptor.m_type) in IsBlock()
3821 const Interface* interface = m_descriptor.m_interface; in IsBlock()
3836 if (BUILTIN == m_descriptor.m_type) in IsStruct()
3841 const Interface* interface = m_descriptor.m_interface; in IsStruct()
4661 std::string name = variable.m_descriptor.m_name; in cloneVariableForStage()
4670 var->m_descriptor.m_name = name; in cloneVariableForStage()
4676 const Interface* interface = variable.m_descriptor.m_interface; in cloneVariableForStage()
4680 var->m_descriptor.m_interface = block; in cloneVariableForStage()
4919 replaceAllTokens("BINDING", binding, variable.m_descriptor.m_qualifiers); in replaceBinding()
5831 bufferDescriptor* descriptor = pair.m_descriptor; in test()
6079 pair.m_descriptor = &(*it); in test()
6081 prepareBuffer(*pair.m_buffer, *pair.m_descriptor); in test()
6326 if (Utils::Variable::m_automatic_location == (*it)->m_descriptor.m_expected_location) in test()
6328 GLuint index = program.GetResourceIndex((*it)->m_descriptor.m_name, GL_PROGRAM_INPUT); in test()
6333 (*it)->m_descriptor.m_expected_location = location; in test()
6430 getVariablePassthrough("", in->m_descriptor, in_flavour, "", out->m_descriptor, out_flavour); in test()
6489 …const std::string& var_verification = getVariableVerification("", var.m_data, var.m_descriptor, i… in test()
6499 getVariableVerification("", var.m_data, var.m_descriptor, Utils::Variable::BASIC); in test()
6509 getVariableVerification("", var.m_data, var.m_descriptor, Utils::Variable::BASIC); in test()
6767 GLint base_slot = variable.m_descriptor.m_expected_location + variable.m_descriptor.m_offset / 16; in test()
6768 GLint ends_at = variable.m_descriptor.m_offset % 16 + variable_size; in test()
6770 GLint array_length = std::max(1u, variable.m_descriptor.m_n_array_elements); in test()
6800 GLint base_slot = variable.m_descriptor.m_expected_location + variable.m_descriptor.m_offset / 16; in test()
6801 GLint variable_offset = variable.m_descriptor.m_offset % 16; in test()
6802 GLint array_length = std::max(1u, variable.m_descriptor.m_n_array_elements); in test()
6810 vao.Attribute(variable.m_descriptor.m_expected_location, variable.m_descriptor.m_builtin, in test()
6811 variable.m_descriptor.m_n_array_elements, variable.m_descriptor.m_normalized, in test()
6814 else if (0 == variable.m_descriptor.m_expected_component) in test()
6819 …Utils::Type::GetType(variable.m_descriptor.m_builtin.m_basic_type, 1 /* n_columns */, 4 /* n_rows … in test()
6821 …vao.Attribute(variable.m_descriptor.m_expected_location, type, variable.m_descriptor.m_n_array_ele… in test()
6822 variable.m_descriptor.m_normalized, variable.GetStride(), in test()
6844 if (Utils::Variable::m_automatic_location == (*it)->m_descriptor.m_expected_location) in test()
6846 GLuint index = program.GetResourceIndex((*it)->m_descriptor.m_name, GL_PROGRAM_OUTPUT); in test()
6851 (*it)->m_descriptor.m_expected_location = location; in test()
6944 GLint ends_at = variable_stride + variable.m_descriptor.m_offset; in test()
7035 GLsizei count = variable.m_descriptor.m_n_array_elements; in test()
7041 if (Utils::Variable::BUILTIN == variable.m_descriptor.m_type) in test()
7043 …program.Uniform(gl, variable.m_descriptor.m_builtin, count, variable.m_descriptor.m_expected_locat… in test()
7056 …buffer.SubData(variable.m_descriptor.m_offset, variable.m_descriptor.m_expected_stride_of_element … in test()
7092 GLint ends_at = variable_stride + variable.m_descriptor.m_offset; in test()
19384 const Utils::Variable::Descriptor& desc = (*it)->m_descriptor; in test()
26220 bufferDescriptor* descriptor = pair.m_descriptor; in test()
26626 bufferDescriptor* descriptor = pair.m_descriptor; in test()
27004 bufferDescriptor* descriptor = pair.m_descriptor; in test()
27354 bufferDescriptor* descriptor = pair.m_descriptor; in test()