Searched refs:n_component (Results 1 – 7 of 7) sorted by relevance
6605 for (unsigned int n_component = 0; n_component < n_components; in getComponentDataForByteAlignedInternalformat() local6606 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 …]
7118 … for (unsigned int n_component = 0; n_component < n_components_used && can_continue; ++n_component) in verifyUniformValues() local7120 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 …]
2442 for (unsigned int n_component = 0; n_component < n_variable_type_components; ++n_component) in getVertexShaderBody() local2446 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() local2686 for (unsigned int n_component = 0; n_component < n_variable_type_components; ++n_component) in verifyXFBData() local5123 for (unsigned int n_component = 0; n_component < 3 /* xyz */; ++n_component) in verifyXFBData() local5125 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() local7370 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() local7377 fs_modifier[n_component] = float(n_fs_id + n_component + 1) / 20.0f; in verifyReadBuffer()[all …]
3144 for (unsigned int n_component = 0; n_component < 4 /* rgba */ && result_local; ++n_component) in execute() local3165 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() local3571 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid texel data (channel:" << n_component in execute()
170 for (int n_component = 0; n_component < m_n_components; ++n_component) in generateTestData() local173 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()
167 unsigned int n_component = 0; in iterate() local245 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()
1715 for (unsigned int n_component = 0; n_component < n_varying_components; ++n_component) in iterate() local1723 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()