/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cVertexAttrib64BitTest.cpp | 1609 const GLint n_rows = configuration.m_n_rows[i]; in calculateAttributeLocation() local 1610 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation() 1620 const GLint n_rows = configuration.m_n_rows[n_type]; in calculateAttributeLocation() local 1621 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation() 1663 const GLint n_rows = configuration.m_n_rows[n_type]; in configureAttribute() local 1664 const GLint n_columns = n_elements / n_rows; in configureAttribute() 1702 const GLint column_offset = column * n_rows; in configureAttribute() 1707 gl.vertexAttribLPointer(attribute_location + column, n_rows /* size */, GL_DOUBLE, in configureAttribute() 1729 if (1 == n_rows) in configureAttribute() 1755 if (3 == n_rows) in configureAttribute() [all …]
|
D | gl4cShadingLanguage420PackTests.hpp | 294 …oid uniform(const glw::GLchar* uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_rows, 374 static uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows); 376 static uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows); 378 static uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows); 380 static uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows); 382 …MatrixNdv getUniformMatrixNdv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows); 384 …MatrixNfv getUniformMatrixNfv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows); 438 static const glw::GLchar* getTypeName(TYPES type, glw::GLuint n_columns, glw::GLuint n_rows); 977 std::string getValueList(glw::GLuint n_columns, glw::GLuint n_rows); 1011 std::string getValueList(glw::GLuint n_rows); [all …]
|
D | gl4cShadingLanguage420PackTests.cpp | 635 const glw::GLchar* Utils::getTypeName(TYPES type, glw::GLuint n_columns, glw::GLuint n_rows) in getTypeName() argument 657 if ((1 > n_columns) || (1 > n_rows) || (4 < n_columns) || (4 < n_rows)) in getTypeName() 665 result = float_lut[n_columns - 1][n_rows - 1]; in getTypeName() 668 result = double_lut[n_columns - 1][n_rows - 1]; in getTypeName() 671 result = int_lut[n_rows - 1]; in getTypeName() 674 result = uint_lut[n_rows - 1]; in getTypeName() 690 Utils::uniformNdv Utils::getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNdv() argument 694 switch (n_rows) in getUniformNdv() 722 Utils::uniformNfv Utils::getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNfv() argument 726 switch (n_rows) in getUniformNfv() [all …]
|
D | gl4cGPUShaderFP64Tests.hpp | 126 static _variable_type getDoubleVariableType(glw::GLuint n_columns, glw::GLuint n_rows); 132 static _variable_type getIntVariableType(glw::GLuint n_columns, glw::GLuint n_rows); 146 static _variable_type getUintVariableType(glw::GLuint n_columns, glw::GLuint n_rows); 457 uniformTypeDetails(glw::GLuint n_columns, glw::GLuint n_rows);
|
D | gl4cEnhancedLayoutsTests.hpp | 83 static Type GetType(TYPES basic_type, glw::GLuint n_columns, glw::GLuint n_rows); 973 uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows); 974 uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows); 975 uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows); 976 uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows); 977 …MatrixNdv getUniformMatrixNdv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows); 978 …MatrixNfv getUniformMatrixNfv(const glw::Functions& gl, glw::GLuint n_columns, glw::GLuint n_rows); 2616 const glw::GLchar* location_str, glw::GLuint n_rows, const glw::GLchar* name);
|
D | gl4cGPUShaderFP64Tests.cpp | 508 Utils::_variable_type Utils::getDoubleVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getDoubleVariableType() argument 519 type = types[n_columns - 1][n_rows - 1]; in getDoubleVariableType() 759 Utils::_variable_type Utils::getIntVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getIntVariableType() argument 772 type = types[n_rows - 1]; in getIntVariableType() 1310 Utils::_variable_type Utils::getUintVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getUintVariableType() argument 1323 type = types[n_rows - 1]; in getUintVariableType() 3374 …UShaderFP64Test2::uniformTypeDetails::uniformTypeDetails(glw::GLuint n_columns, glw::GLuint n_rows) in uniformTypeDetails() argument 3375 : m_n_columns(n_columns), m_n_rows(n_rows) in uniformTypeDetails() 3377 Utils::_variable_type type = Utils::getDoubleVariableType(n_columns, n_rows); in uniformTypeDetails() 4129 const glw::GLuint n_rows = uniform_type.m_n_rows; in prepareUniforms() local [all …]
|
D | gl4cEnhancedLayoutsTests.cpp | 708 Type Type::GetType(TYPES basic_type, glw::GLuint n_columns, glw::GLuint n_rows) in GetType() argument 710 Type type = { basic_type, n_columns, n_rows }; in GetType() 806 uniformNdv getUniformNdv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNdv() argument 810 switch (n_rows) in getUniformNdv() 838 uniformNfv getUniformNfv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNfv() argument 842 switch (n_rows) in getUniformNfv() 870 uniformNiv getUniformNiv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNiv() argument 874 switch (n_rows) in getUniformNiv() 902 uniformNuiv getUniformNuiv(const glw::Functions& gl, glw::GLuint n_rows) in getUniformNuiv() argument 906 switch (n_rows) in getUniformNuiv() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_initializers.c | 120 const unsigned n_rows = glsl_get_vector_elements(type); in copy_constant_to_storage() local 129 i += n_rows * dmul; in copy_constant_to_storage() 132 for (unsigned int row = 0; row < n_rows; row++) { in copy_constant_to_storage()
|