Home
last modified time | relevance | path

Searched refs:n_component (Results 1 – 7 of 7) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp6605 for (unsigned int n_component = 0; n_component < n_components; in getComponentDataForByteAlignedInternalformat() local
6606 data += (component_sizes[n_component] >> 3 /* 8 bits/byte */), ++n_component) in getComponentDataForByteAlignedInternalformat()
6612 switch (component_sizes[n_component]) in getComponentDataForByteAlignedInternalformat()
6615 result_float[n_component] = deFloat16To32(*(const deFloat16*)data); in getComponentDataForByteAlignedInternalformat()
6618 result_float[n_component] = *(float*)data; in getComponentDataForByteAlignedInternalformat()
6630 switch (component_sizes[n_component]) in getComponentDataForByteAlignedInternalformat()
6633 result_sint[n_component] = *(signed char*)data; in getComponentDataForByteAlignedInternalformat()
6636 result_sint[n_component] = *(signed short*)data; in getComponentDataForByteAlignedInternalformat()
6639 result_sint[n_component] = *(signed int*)data; in getComponentDataForByteAlignedInternalformat()
6651 switch (component_sizes[n_component]) in getComponentDataForByteAlignedInternalformat()
[all …]
Dgl4cGPUShaderFP64Tests.cpp7118 … for (unsigned int n_component = 0; n_component < n_components_used && can_continue; ++n_component) in verifyUniformValues() local
7120 if (de::abs(returned_double_data[n_component] - uniform_value[n_component]) > epsilon) in verifyUniformValues()
7127 << n_component << "]" in verifyUniformValues()
7129 << returned_double_data[n_component] << "]" in verifyUniformValues()
7131 << uniform_value[n_component] << "]" << tcu::TestLog::EndMessage; in verifyUniformValues()
7136 if (de::abs(returned_float_data[n_component] - uniform_value[n_component]) > epsilon) in verifyUniformValues()
7143 << n_component << "]" in verifyUniformValues()
7145 << returned_float_data[n_component] << "]" in verifyUniformValues()
7147 << uniform_value[n_component] << "]" << tcu::TestLog::EndMessage; in verifyUniformValues()
7153 int rounded_uniform_value_sint = (int)(deFloatRound((float)uniform_value[n_component])); in verifyUniformValues()
[all …]
Dgl4cShaderSubroutineTests.cpp2442 for (unsigned int n_component = 0; n_component < n_variable_type_components; ++n_component) in getVertexShaderBody() local
2446 if (n_component != (n_variable_type_components - 1)) in getVertexShaderBody()
2650 for (unsigned int n_component = 0; n_component < n_variable_type_components; ++n_component) in verifyXFBData() local
2686 for (unsigned int n_component = 0; n_component < n_variable_type_components; ++n_component) in verifyXFBData() local
5123 for (unsigned int n_component = 0; n_component < 3 /* xyz */; ++n_component) in verifyXFBData() local
5125 expected_result[n_component] += 0.123f + float(n_point); in verifyXFBData()
7368 for (unsigned int n_component = 0; n_component < 4; ++n_component) in verifyReadBuffer() local
7370 fs_modifier[n_component] = float(n_fs_id + n_component + 1) / 10.0f; in verifyReadBuffer()
7375 for (unsigned int n_component = 0; n_component < 4; ++n_component) in verifyReadBuffer() local
7377 fs_modifier[n_component] = float(n_fs_id + n_component + 1) / 20.0f; in verifyReadBuffer()
[all …]
Dgl4cSparseBufferTests.cpp3144 for (unsigned int n_component = 0; n_component < 4 /* rgba */ && result_local; ++n_component) in execute() local
3165 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid texel data (channel:" << n_component in execute()
3550 for (unsigned int n_component = 0; n_component < 4 /* rgba */ && result_local; ++n_component) in execute() local
3571 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid texel data (channel:" << n_component in execute()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGenerateMipMap.cpp170 for (int n_component = 0; n_component < m_n_components; ++n_component) in generateTestData() local
173 unsigned char* result_ptr = data + ((y * width + x) * pixel_size + n_component); in generateTestData()
176 *result_ptr = m_layer_face_data[n_layer][n_color][n_component]; in generateTestData()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredFramebuffer.cpp167 unsigned int n_component = 0; in iterate() local
245 for (n_component = 0; n_component < N_TEXTURE_COMPONENTS; ++n_component) in iterate()
247 …float temp_component = slice_rgba[n_component] /* dst_color */ * slice_rgba[n_component] /* dst_co… in iterate()
261 ref_slice_ptr[n_component] = (unsigned char)(temp_component * 255.0f); in iterate()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTCTE.cpp1715 for (unsigned int n_component = 0; n_component < n_varying_components; ++n_component) in iterate() local
1723 if (de::abs(*rendered_value - expected_value_float[n_component]) > epsilon) in iterate()
1726 << tcu::TestLog::Message << "Invalid component at index [" << n_component << "] " in iterate()
1727 << "(found:" << *rendered_value << " expected:" << expected_value_float[n_component] in iterate()
1740 if (*rendered_value != expected_value_int[n_component]) in iterate()
1743 << tcu::TestLog::Message << "Invalid component at index [" << n_component << "] " in iterate()
1744 << "(found:" << *rendered_value << " expected:" << expected_value_int[n_component] in iterate()