Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProperties.cpp83 glw::GLint n_components = property_value_data[n_property * 3 + 1]; in iterate() local
105 if (memcmp(expected_bool_value, bool_value, sizeof(bool) * n_components) != 0) in iterate()
113 if (memcmp(expected_int_value, int_value, sizeof(int) * n_components) != 0) in iterate()
121 if ((n_components >= 1 && de::abs(float_value[0] - (float)expected_value) > epsilon) || in iterate()
122 (n_components >= 2 && de::abs(float_value[1] - (float)expected_value) > epsilon) || in iterate()
123 (n_components >= 3 && de::abs(float_value[2] - (float)expected_value) > epsilon) || in iterate()
124 (n_components >= 4 && de::abs(float_value[3] - (float)expected_value) > epsilon)) in iterate()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp346 const glw::GLuint n_components = N_Components; in vectorSubtractInPlace() local
348 for (glw::GLuint i = 0; i < n_components; ++i) in vectorSubtractInPlace()
1670 const glw::GLuint n_components = N_Components; in verifyResultImage() local
1674 const glw::GLuint n_components_per_face = n_pixels_per_face * n_components; in verifyResultImage()
1693 const glw::GLuint pixel_offset = pixel * n_components + face_offset; in verifyResultImage()
1695 T components[n_components]; in verifyResultImage()
1699 for (glw::GLuint component = 0; component < n_components; ++component) in verifyResultImage()
2358 glw::GLuint n_components = 0; in getSamplingComputeShaderCode() local
2373 n_components, is_shadow_sampler); in getSamplingComputeShaderCode()
2378 getSamplingFunctionCall(sampling_function, color_type, n_components, compute_shader_param, 0, in getSamplingComputeShaderCode()
[all …]
DesextcTextureCubeMapArraySampling.hpp620 glw::GLuint n_components, const glw::GLchar* attribute_name_prefix,
640 glw::GLuint n_components, const glw::GLchar* attribute_name_prefix,
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc_tmp.h363 int n_components; in extract_unorm_endpoints() local
386 n_components = 4; in extract_unorm_endpoints()
392 n_components = 3; in extract_unorm_endpoints()
402 for (component = 0; component < n_components; component++) { in extract_unorm_endpoints()
414 for (component = 0; component < n_components; component++) { in extract_unorm_endpoints()
/external/python/cpython3/Lib/zoneinfo/
D_zoneinfo.py719 n_components = len(time_components)
720 if n_components < 3:
721 time_components.extend([0] * (3 - n_components))
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp10260 const unsigned int n_components = Utils::getNumberOfComponentsForVariableType(variable.type); in logVariableContents() local
10273 for (unsigned int n_component = 0; n_component < n_components; ++n_component) in logVariableContents()
10277 if (n_component != (n_components - 1)) in logVariableContents()
10330 unsigned int n_components = 0; in setInputAttributeValues() local
10336 n_components = n_total_components / n_columns; in setInputAttributeValues()
10342 n_components = n_total_components; in setInputAttributeValues()
10345 DE_ASSERT(n_components >= 1 && n_components <= 4); in setInputAttributeValues()
10351 switch (n_components) in setInputAttributeValues()
10395 counter += n_components; in setInputAttributeValues()
13165 glw::GLuint n_components = Utils::getNumberOfComponentsForVariableType(m_arg_type); in call() local
[all …]
Dgl4cShaderImageLoadStoreTests.cpp7546 static const GLuint n_components = 4; /* RGBA */ in CompareRGBA8Textures() local
7547 const GLuint texture_data_size = edge * edge * n_layers * n_components; in CompareRGBA8Textures()
7643 static const GLuint n_components = 4; /* RGBA */ in CreateRGBA8DestinationTexture() local
7644 const GLuint layer_size = edge * edge * n_components; in CreateRGBA8DestinationTexture()
7674 static const GLuint n_components = 4; /* RGBA */ in CreateRGBA8SourceTexture() local
7675 const GLuint layer_size = edge * edge * n_components; in CreateRGBA8SourceTexture()
7695 const GLuint line_offset = y * edge * n_components + layer_offset; in CreateRGBA8SourceTexture()
7701 const GLuint texel_offset = x * n_components + line_offset; in CreateRGBA8SourceTexture()
7704 for (GLuint component = 0; component < n_components; ++component) in CreateRGBA8SourceTexture()
7757 const GLuint n_components = 4; in CreateRGBA8Texture() local
[all …]
Dgl4cTextureViewTests.hpp129 const unsigned int n_components);
672 …mponentDataForByteAlignedInternalformat(const unsigned char* data, const unsigned int n_components,
Dgl4cTextureViewTests.cpp1073 const unsigned int n_components) in getGLSLDataTypeForSamplerType() argument
1081 switch (n_components) in getGLSLDataTypeForSamplerType()
1107 switch (n_components) in getGLSLDataTypeForSamplerType()
1133 switch (n_components) in getGLSLDataTypeForSamplerType()
6593 const unsigned int n_components, in getComponentDataForByteAlignedInternalformat() argument
6605 for (unsigned int n_component = 0; n_component < n_components; in getComponentDataForByteAlignedInternalformat()
Dgl4cShaderSubroutineTests.cpp1416 const unsigned int& n_components) in getVariableTypeFromProperties() argument
1424 switch (n_components) in getVariableTypeFromProperties()
1450 switch (n_components) in getVariableTypeFromProperties()
1476 switch (n_components) in getVariableTypeFromProperties()
1502 switch (n_components) in getVariableTypeFromProperties()
1528 switch (n_components) in getVariableTypeFromProperties()
Dgl4cShaderSubroutineTests.hpp265 const unsigned int& n_components);
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp1762 static const GLuint n_components = 2; in prepareTexture() local
1764 GLbyte source_pixels[image_width * image_height * n_components]; in prepareTexture()
1767 source_pixels[i * n_components + 0] = static_cast<GLubyte>((i % 16) - 8); in prepareTexture()
1768 source_pixels[i * n_components + 1] = static_cast<GLubyte>((i / 16) - 8); in prepareTexture()
1776 static const GLuint n_components = 4; in prepareTexture() local
1778 GLfloat source_pixels[image_width * image_height * n_components]; in prepareTexture()
1781 source_pixels[i * n_components + 0] = (GLfloat)(i % 16) / 16.0f; in prepareTexture()
1782 source_pixels[i * n_components + 1] = (GLfloat)(i / 16) / 16.0f; in prepareTexture()
1783 source_pixels[i * n_components + 2] = (GLfloat)i / 256.0f; in prepareTexture()
1784 source_pixels[i * n_components + 3] = 1.0f; in prepareTexture()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp863 …gl.vertexAttribIPointer(attribute_location, vertex_buffer_info.n_components, vertex_buffer_info.ty… in prepareProgramInput()
868 …gl.vertexAttribPointer(attribute_location, vertex_buffer_info.n_components, vertex_buffer_info.typ… in prepareProgramInput()
1131 info.n_components = m_n_coordinates_components; in prepareVertexBufferInfoForCoordinates()
1447 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
2346 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
2672 info.n_components = m_n_offsets_components; in prepareVertexBuffersData()
DesextcGPUShader5TextureGatherOffset.hpp53 glw::GLuint n_components; member