Home
last modified time | relevance | path

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

/external/angle/src/common/
Dgen_uniform_type_table.py112 def get_component_type(uniform_type): argument
113 if uniform_type.find("GL_BOOL") == 0:
115 elif uniform_type.find("GL_FLOAT") == 0:
117 elif uniform_type.find("GL_INT") == 0:
119 elif uniform_type.find("GL_UNSIGNED_INT") == 0:
121 elif uniform_type == "GL_NONE":
127 def get_texture_type(uniform_type): argument
129 if uniform_type.endswith(sampler_type):
134 def get_transposed_type(uniform_type): argument
135 if "_MAT" in uniform_type:
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetActiveUniformTests.cpp326 glw::GLenum uniform_type = GL_NONE; in iterate() local
330 &uniform_size, &uniform_type, uniform_name); in iterate()
344 if (uniform_type != GL_SAMPLER_2D_MULTISAMPLE) in iterate()
360 if (uniform_type != GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) in iterate()
379 if (uniform_type != GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE) in iterate()
395 if (uniform_type != GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) in iterate()
414 if (uniform_type != GL_INT_SAMPLER_2D_MULTISAMPLE) in iterate()
430 if (uniform_type != GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) in iterate()
449 if (uniform_type != GL_SAMPLER_2D_MULTISAMPLE) in iterate()
465 if (uniform_type != GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES) in iterate()
[all …]
Des31cLayoutBindingTests.cpp689 s << "precision highp " << getTestParameters().uniform_type << ";\n"; in initDefaultVSContext()
726 s << "precision highp " << getTestParameters().uniform_type << ";\n"; in initDefaultFSContext()
764 s << "precision highp " << getTestParameters().uniform_type << ";\n"; in initDefaultCSContext()
793 String buildUniformDecl(const String& keyword, const String& layout, const String& uniform_type, in buildUniformDecl() argument
801 setArg(args["UNIFORM_TYPE"], uniform_type); in buildUniformDecl()
1305 String(getTestParameters().uniform_type), buildBlockName(getDefaultUniformName()), in binding_basic_default()
1353 String(getTestParameters().uniform_type), buildBlockName(getDefaultUniformName()), in binding_basic_explicit()
1391 String(getTestParameters().uniform_type), buildBlockName(getDefaultUniformName()), in binding_basic_multiple()
1394 String(getTestParameters().uniform_type), buildBlockName(getDefaultUniformName(1)), in binding_basic_multiple()
1451 String(getTestParameters().uniform_type), buildBlockName(getDefaultUniformName()), in binding_basic_render()
[all …]
Des31cLayoutBindingTests.hpp81 char const* uniform_type; // sampler2D, image2D... member
Des31cShaderAtomicCountersTests.cpp449 …ool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_type, in CheckUniform() argument
500 if (type != static_cast<GLenum>(uniform_type)) in CheckUniform()
503 << type << " should be " << uniform_type << tcu::TestLog::EndMessage; in CheckUniform()
509 if (param != uniform_type) in CheckUniform()
512 << param << " should be " << uniform_type << tcu::TestLog::EndMessage; in CheckUniform()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc479 } else if (auto uniform_type = in QuantizeLegacy() local
485 std::transform(uniform_type.getScales().begin(), in QuantizeLegacy()
486 uniform_type.getScales().end(), in QuantizeLegacy()
492 uniform_type.getQuantizedDimension(), &quantized_values); in QuantizeLegacy()
503 if (auto uniform_type = q_type.dyn_cast<UniformQuantizedType>()) { in QuantizeLegacy() local
506 real_values.data(), real_values.size(), uniform_type.getScale()); in QuantizeLegacy()
516 if (auto uniform_type = q_type.dyn_cast<UniformQuantizedType>()) { in QuantizeLegacy() local
517 scales.push_back(uniform_type.getScale()); in QuantizeLegacy()
518 } else if (auto uniform_type = in QuantizeLegacy() local
520 scales.insert(scales.end(), uniform_type.getScales().begin(), in QuantizeLegacy()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.hpp480 glw::GLuint getRequiredComponentsNumber(const uniformTypeDetails& uniform_type) const;
481 glw::GLuint getUniformTypeMemberSize(const uniformTypeDetails& uniform_type) const;
482 …glw::GLuint getAmountUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type) co…
485 …spectProgram(glw::GLuint program_id, glw::GLint n_uniforms, const uniformTypeDetails& uniform_type,
492 void prepareProgram(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
505 void prepareUniformDefinitions(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
508 void prepareUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
513 void prepareUniformVerification(shaderStage shader_stage, const uniformTypeDetails& uniform_type,
516 bool test(shaderStage shader_stage, const uniformTypeDetails& uniform_type) const;
Dgl4cGPUShaderFP64Tests.cpp3344 for (std::vector<uniformTypeDetails>::const_iterator uniform_type = m_uniform_types.begin(); in iterate() local
3345 m_uniform_types.end() != uniform_type; ++uniform_type) in iterate()
3348 if (false == test(*shader_stage, *uniform_type)) in iterate()
3497 glw::GLuint GPUShaderFP64Test2::getRequiredComponentsNumber(const uniformTypeDetails& uniform_type)… in getRequiredComponentsNumber()
3500 const glw::GLuint column_length = uniform_type.m_n_rows; in getRequiredComponentsNumber()
3502 if (1 == uniform_type.m_n_columns) in getRequiredComponentsNumber()
3510 return alignment * uniform_type.m_n_columns; in getRequiredComponentsNumber()
3520 glw::GLuint GPUShaderFP64Test2::getUniformTypeMemberSize(const uniformTypeDetails& uniform_type) co… in getUniformTypeMemberSize()
3523 const glw::GLuint column_length = uniform_type.m_n_rows; in getUniformTypeMemberSize()
3526 return vec4_size * ((column_length + 1) / 2) * uniform_type.m_n_columns; in getUniformTypeMemberSize()
[all …]
Dgl4cShaderAtomicCountersTests.cpp544 …ool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_type, in CheckUniform() argument
603 if (type != static_cast<GLenum>(uniform_type)) in CheckUniform()
606 << type << " should be " << uniform_type << tcu::TestLog::EndMessage; in CheckUniform()
612 if (param != uniform_type) in CheckUniform()
615 << param << " should be " << uniform_type << tcu::TestLog::EndMessage; in CheckUniform()
/external/mesa3d/src/compiler/glsl/
Dserialize.cpp790 enum uniform_type enum
950 enum uniform_type type = (enum uniform_type) blob_read_uint32(metadata); in read_program_resource_data()