/third_party/skia/third_party/externals/tint/src/ast/ |
D | variable_test.cc | 112 TEST_F(VariableTest, BindingPoint) { in TEST_F() argument 118 EXPECT_TRUE(var->BindingPoint()); in TEST_F() 119 ASSERT_NE(var->BindingPoint().binding, nullptr); in TEST_F() 120 ASSERT_NE(var->BindingPoint().group, nullptr); in TEST_F() 121 EXPECT_EQ(var->BindingPoint().binding->value, 2u); in TEST_F() 122 EXPECT_EQ(var->BindingPoint().group->value, 1u); in TEST_F() 128 EXPECT_FALSE(var->BindingPoint()); in TEST_F() 129 EXPECT_EQ(var->BindingPoint().group, nullptr); in TEST_F() 130 EXPECT_EQ(var->BindingPoint().binding, nullptr); in TEST_F() 138 EXPECT_FALSE(var->BindingPoint()); in TEST_F() [all …]
|
D | variable.h | 127 VariableBindingPoint BindingPoint() const;
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | array_length_from_uniform_test.cc | 92 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{0, 0}, 0); in TEST_F() 145 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{0, 0}, 0); in TEST_F() 262 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{0, 2u}, 0); in TEST_F() 263 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{1u, 2u}, 1); in TEST_F() 264 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{2u, 2u}, 2); in TEST_F() 265 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{3u, 2u}, 3); in TEST_F() 266 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{4u, 2u}, 4); in TEST_F() 377 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{0, 2u}, 0); in TEST_F() 378 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{1u, 2u}, 1); in TEST_F() 379 cfg.bindpoint_to_size_index.emplace(sem::BindingPoint{2u, 2u}, 2); in TEST_F() [all …]
|
D | binding_remapper.cc | 56 std::unordered_set<sem::BindingPoint> add_collision_deco; in Run() 66 std::unordered_map<sem::BindingPoint, int> binding_point_counts; in Run() 68 if (auto binding_point = var->Declaration()->BindingPoint()) { in Run() 69 BindingPoint from{binding_point.group->value, in Run() 74 BindingPoint to = bp_it->second; in Run() 90 if (auto binding_point = var->BindingPoint()) { in Run() 92 BindingPoint from{binding_point.group->value, in Run() 96 BindingPoint bp = from; in Run() 103 BindingPoint to = bp_it->second; in Run()
|
D | multiplanar_external_texture.h | 30 using BindingPoint = sem::BindingPoint; variable 37 BindingPoint plane_1; 40 BindingPoint params; 57 using BindingsMap = std::unordered_map<BindingPoint, BindingPoints>;
|
D | binding_remapper.h | 28 using BindingPoint = sem::BindingPoint; variable 35 using BindingPoints = std::unordered_map<BindingPoint, BindingPoint>; 38 using AccessControls = std::unordered_map<BindingPoint, ast::Access>;
|
D | first_index_offset.h | 63 struct BindingPoint : public Castable<BindingPoint, transform::Data> { struct 65 BindingPoint(); 70 BindingPoint(uint32_t b, uint32_t g); 73 ~BindingPoint() override;
|
D | first_index_offset.cc | 29 TINT_INSTANTIATE_TYPEINFO(tint::transform::FirstIndexOffset::BindingPoint); 42 FirstIndexOffset::BindingPoint::BindingPoint() = default; 43 FirstIndexOffset::BindingPoint::BindingPoint(uint32_t b, uint32_t g) in BindingPoint() function in tint::transform::FirstIndexOffset::BindingPoint 45 FirstIndexOffset::BindingPoint::~BindingPoint() = default; 67 if (auto* binding_point = inputs.Get<BindingPoint>()) { in Run()
|
D | first_index_offset_test.cc | 34 config.Add<FirstIndexOffset::BindingPoint>(0, 0); in TEST_F() 81 config.Add<FirstIndexOffset::BindingPoint>(1, 2); in TEST_F() 128 config.Add<FirstIndexOffset::BindingPoint>(1, 7); in TEST_F() 188 config.Add<FirstIndexOffset::BindingPoint>(1, 2); in TEST_F() 243 config.Add<FirstIndexOffset::BindingPoint>(1, 2); in TEST_F() 315 config.Add<FirstIndexOffset::BindingPoint>(1, 2); in TEST_F()
|
D | num_workgroups_from_uniform_test.cc | 91 data.Add<NumWorkgroupsFromUniform::Config>(sem::BindingPoint{0, 30u}); in TEST_F() 138 data.Add<NumWorkgroupsFromUniform::Config>(sem::BindingPoint{0, 30u}); in TEST_F() 196 data.Add<NumWorkgroupsFromUniform::Config>(sem::BindingPoint{0, 30u}); in TEST_F() 298 data.Add<NumWorkgroupsFromUniform::Config>(sem::BindingPoint{0, 30u}); in TEST_F() 341 data.Add<NumWorkgroupsFromUniform::Config>(sem::BindingPoint{0, 30u}); in TEST_F()
|
D | array_length_from_uniform.h | 65 explicit Config(sem::BindingPoint ubo_bp); 78 sem::BindingPoint ubo_binding; 81 std::unordered_map<sem::BindingPoint, uint32_t> bindpoint_to_size_index;
|
D | num_workgroups_from_uniform.h | 55 explicit Config(sem::BindingPoint ubo_bp); 64 sem::BindingPoint ubo_binding;
|
D | array_length_from_uniform.cc | 124 auto binding = var->BindingPoint(); in Run() 167 auto binding = var->BindingPoint(); in Run() 206 ArrayLengthFromUniform::Config::Config(sem::BindingPoint ubo_bp) in Config()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | binding_point.h | 28 struct BindingPoint { struct 37 inline bool operator==(const BindingPoint& rhs) const { 44 inline bool operator!=(const BindingPoint& rhs) const { 58 class hash<tint::sem::BindingPoint> { 63 const tint::sem::BindingPoint& binding_point) const { in operator()
|
D | function.cc | 69 if (auto binding_point = var->Declaration()->BindingPoint()) { in TransitivelyReferencedUniformVariables() 85 if (auto binding_point = var->Declaration()->BindingPoint()) { in TransitivelyReferencedStorageBufferVariables() 134 if (auto binding_point = var->Declaration()->BindingPoint()) { in TransitivelyReferencedVariablesOfType() 162 if (auto binding_point = var->Declaration()->BindingPoint()) { in TransitivelyReferencedSamplerVariablesImpl() 188 if (auto binding_point = var->Declaration()->BindingPoint()) { in TransitivelyReferencedSampledTextureVariablesImpl()
|
D | variable.h | 151 sem::BindingPoint binding_point = {}); 157 sem::BindingPoint BindingPoint() const { return binding_point_; } in BindingPoint() function 177 const sem::BindingPoint binding_point_;
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluDrawUtil.hpp | 93 struct BindingPoint struct 107 BindingPoint (void) : type(BPTYPE_LAST), location (0) {} in BindingPoint() function 108 explicit BindingPoint (int location_) : type(BPTYPE_LOCATION), location(location_) {} in BindingPoint() function 109 …explicit BindingPoint (const std::string& name_, int location_ = 0) : type(BPTYPE_NAME), name(name… in BindingPoint() function 145 BindingPoint binding; 148 VertexArrayBinding (const BindingPoint& binding_, const VertexArrayPointer& pointer_) in VertexArrayBinding() 248 …return VertexArrayBinding(BindingPoint(name, offset), VertexArrayPointer(TYPE, CONVERT, numCompone… 256 …return VertexArrayBinding(BindingPoint(location), VertexArrayPointer(TYPE, CONVERT, numComponents,…
|
D | gluDrawUtil.cpp | 224 const BindingPoint& binding = cur->binding; in namedBindingsToProgramLocations() 225 if (binding.type == BindingPoint::BPTYPE_NAME) in namedBindingsToProgramLocations() 232 *out = VertexArrayBinding(BindingPoint(location + binding.location), cur->pointer); in namedBindingsToProgramLocations() 259 const BindingPoint& binding = cur->binding; in areVertexArrayLocationsValid() 261 if (binding.type != BindingPoint::BPTYPE_LOCATION) in areVertexArrayLocationsValid() 282 DE_ASSERT(va.binding.type == BindingPoint::BPTYPE_LOCATION); in appendAttributeNonStrided() 391 DE_ASSERT(vertexArray.binding.type == BindingPoint::BPTYPE_LOCATION); in getUserPointerDescriptor() 436 DE_ASSERT(vaIter->binding.type == BindingPoint::BPTYPE_LOCATION); in disableVertexArrays()
|
/third_party/skia/third_party/externals/tint/src/writer/ |
D | array_length_from_uniform_options.h | 43 sem::BindingPoint ubo_binding; 46 std::unordered_map<sem::BindingPoint, uint32_t> bindpoint_to_size_index;
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
D | sampler_texture_pair.h | 29 sem::BindingPoint sampler_binding_point; 31 sem::BindingPoint texture_binding_point;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ShaderModuleVk.cpp | 129 using BindingPoint = tint::transform::BindingPoint; in GetTransformedModuleHandle() typedef 141 BindingPoint srcBindingPoint{static_cast<uint32_t>(group), in GetTransformedModuleHandle() 144 BindingPoint dstBindingPoint{static_cast<uint32_t>(group), in GetTransformedModuleHandle()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ShaderModuleD3D12.cpp | 58 constexpr bool operator()(const tint::transform::BindingPoint& lhs, in operator ()() 59 const tint::transform::BindingPoint& rhs) const { in operator ()() 73 const tint::transform::BindingPoint& binding_point) { in Serialize() 88 const std::unordered_map<tint::transform::BindingPoint, T>& map) { in Serialize() argument 91 std::map<tint::transform::BindingPoint, T, CompareBindingPoint> sorted(map.begin(), in Serialize() 229 using tint::transform::BindingPoint; in Create() 253 BindingPoint srcBindingPoint{static_cast<uint32_t>(group), in Create() 255 BindingPoint dstBindingPoint{static_cast<uint32_t>(group), in Create() 285 BindingPoint bindingPoint{static_cast<uint32_t>(group), in Create() 766 transformInputs.Add<tint::transform::FirstIndexOffset::BindingPoint>( in Compile()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | ShaderModuleMTL.mm | 64 using BindingPoint = tint::transform::BindingPoint; 84 BindingPoint srcBindingPoint{static_cast<uint32_t>(group), 86 BindingPoint dstBindingPoint{0, shaderIndex}; 112 BindingPoint srcBindingPoint{static_cast<uint32_t>(kPullingBufferBindingSet), 114 BindingPoint dstBindingPoint{0, metalIndex};
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl_sanitizer_test.cc | 197 sem::BindingPoint{0, 1}, 7u); in TEST_F() 199 sem::BindingPoint{0, 2}, 2u); in TEST_F() 253 sem::BindingPoint{0, 2}, 2u); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator.h | 53 sem::BindingPoint root_constant_binding_point;
|