Home
last modified time | relevance | path

Searched refs:component_count (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
56 assert(message_.component_count() >= 2 && message_.component_count() <= 4 && in Apply()
63 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {message_.component_count()}}}); in Apply()
Dfuzzer_pass.cpp283 uint32_t component_count) { in FindOrCreateVectorType() argument
284 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
289 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
296 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
Dfuzzer_pass.h143 uint32_t component_count);
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
56 assert(message_.component_count() >= 2 && message_.component_count() <= 4 && in Apply()
63 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {message_.component_count()}}}); in Apply()
Dfuzzer_pass.cpp283 uint32_t component_count) { in FindOrCreateVectorType() argument
284 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
289 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
296 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
Dfuzzer_pass.h143 uint32_t component_count);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
56 assert(message_.component_count() >= 2 && message_.component_count() <= 4 && in Apply()
63 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {message_.component_count()}}}); in Apply()
Dfuzzer_pass.cpp283 uint32_t component_count) { in FindOrCreateVectorType() argument
284 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
289 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
296 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
Dfuzzer_pass.h143 uint32_t component_count);
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dprintf.cpp106 int component_count = 1; in print_formatted() local
111 component_count = std::stoi(s); in print_formatted()
125 component_count == 3 ? 4 : component_count; in print_formatted()
128 for (int i = 0; i < component_count; i++) { in print_formatted()
130 if (is_vector && i + 1 == component_count) in print_formatted()
/third_party/astc-encoder/Source/
Dastcenccli_internal.h107 unsigned int& component_count);
123 unsigned int& component_count);
Dastcenccli_image_external.cpp87 unsigned int& component_count in load_png_with_wuffs() argument
90 component_count = 4; in load_png_with_wuffs()
Dastcenccli_image_load_store.cpp53 unsigned int& component_count in load_image_with_tinyexr() argument
71 component_count = 4; in load_image_with_tinyexr()
89 unsigned int& component_count in load_image_with_stb() argument
101 component_count = 4; in load_image_with_stb()
113 component_count = 4; in load_image_with_stb()
835 unsigned int& component_count in load_ktx_uncompressed_image() argument
1159 component_count = components; in load_ktx_uncompressed_image()
1645 unsigned int& component_count in load_dds_uncompressed_image() argument
1919 component_count = components; in load_dds_uncompressed_image()
2262 unsigned int& component_count in load_ncimage() argument
[all …]
/third_party/ninja/src/
Dutil.cc148 int component_count = 0; in CanonicalizePath() local
180 if (component_count > 0) { in CanonicalizePath()
181 dst = components[component_count - 1]; in CanonicalizePath()
183 --component_count; in CanonicalizePath()
198 if (component_count == kMaxPathComponents) in CanonicalizePath()
200 components[component_count] = dst; in CanonicalizePath()
201 ++component_count; in CanonicalizePath()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
149 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2782 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2785 if (!_.GetConstantValUint64(component_count, &const_val)) { in ValidateExtInst()
2790 component_count = const_val & 0xffffffff; in ValidateExtInst()
2793 if (!component_count || component_count > 4) { in ValidateExtInst()
2806 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2807 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2809 if (!component_count->word(3)) { in ValidateExtInst()
2812 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2813 (CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
2815 CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
149 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2782 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2785 if (!_.GetConstantValUint64(component_count, &const_val)) { in ValidateExtInst()
2790 component_count = const_val & 0xffffffff; in ValidateExtInst()
2793 if (!component_count || component_count > 4) { in ValidateExtInst()
2806 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2807 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2809 if (!component_count->word(3)) { in ValidateExtInst()
2812 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2813 (CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
2815 CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
104 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
148 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2891 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2894 if (!_.GetConstantValUint64(component_count, &const_val)) { in ValidateExtInst()
2899 component_count = const_val & 0xffffffff; in ValidateExtInst()
2902 if (!component_count || component_count > 4) { in ValidateExtInst()
2915 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2916 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2919 if (!vulkanDebugInfo && !component_count->word(3)) { in ValidateExtInst()
2922 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2923 (CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
2925 CommonDebugInfoInstructions(component_count->word(4)) == in ValidateExtInst()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dtype_parser_test.cc29 uint8_t component_count; in TEST_F() member
1193 for (size_t i = 0; i < data.component_count; ++i) { in TEST_F()
1201 ASSERT_TRUE(data.component_count <= segs.size()) << data.name; in TEST_F()
1203 for (size_t i = 0; i < data.component_count; ++i) { in TEST_F()
1209 if (data.component_count < segs.size()) { in TEST_F()
1211 EXPECT_EQ(1u, segs.size() - data.component_count); in TEST_F()
/third_party/ffmpeg/libavcodec/
Datrac3.c335 int component_count = 0; in decode_tonal_components() local
373 TonalComponent *cmp = &components[component_count]; in decode_tonal_components()
378 if (component_count >= 64) in decode_tonal_components()
399 component_count++; in decode_tonal_components()
404 return component_count; in decode_tonal_components()

12