Skip to content

Commit 94498eb

Browse files
committed
Remove resource_binding.
This removes the `resource_binding` type from tint in favour of the new resource table functionality. Bug: 463925499 Change-Id: I6ec47810d9db72bec1b67df2e05029bec69e63bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/281557 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com>
1 parent 3136671 commit 94498eb

866 files changed

Lines changed: 3068 additions & 57785 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/tint/api/common/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ cc_library(
4545
"binding_point.h",
4646
"bindings.h",
4747
"override_id.h",
48-
"resource_binding_config.h",
4948
"resource_table_config.h",
5049
"resource_type.h",
5150
"subgroup_matrix.h",

src/tint/api/common/BUILD.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ tint_add_target(tint_api_common lib
4242
api/common/binding_point.h
4343
api/common/bindings.h
4444
api/common/override_id.h
45-
api/common/resource_binding_config.h
4645
api/common/resource_table_config.h
4746
api/common/resource_type.h
4847
api/common/subgroup_matrix.h

src/tint/api/common/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ libtint_source_set("common") {
4848
"binding_point.h",
4949
"bindings.h",
5050
"override_id.h",
51-
"resource_binding_config.h",
5251
"resource_table_config.h",
5352
"resource_type.h",
5453
"subgroup_matrix.h",

src/tint/api/common/resource_binding_config.h

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/tint/api/common/resource_table_config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737

3838
namespace tint {
3939

40-
// Configuration for the resource binding transform.
40+
// Configuration for the resource table transform.
4141
//
42-
// The resource binding transform assumes that for each resource_binding there will be an
42+
// The resource table transform assumes that for each resource table entry there will be an
4343
// entry in the `bindings` hash map. That binding will provide information on the storage buffer
44-
// attached for the resource binding. Specifically, the storage buffer should have a format of:
44+
// attached for the resource table. Specifically, the storage buffer should have a format of:
4545
//
4646
// ```
4747
// struct SB {
@@ -65,7 +65,7 @@ struct ResourceTableConfig {
6565
// texture type (or out of bounds).
6666
//
6767
// These `default_binding_type_order` entries will be used when we need to substitute in a
68-
// default binding. So, we assume that Dawn is providing the `resource_binding` memory as:
68+
// default binding. So, we assume that Dawn is providing the resource table memory as:
6969
//
7070
// `[user 1 (2d_i32), user 2 (3d_f32), user 3 (1d_u32), 1d_u32_default, 2d_f32_default,
7171
// 3d_f32_default]`

0 commit comments

Comments
 (0)