mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Rename builtin constant_id to override
There are no downstream usages, so we can skip deprecation. Allowing the ID to be omitted will be done in a separate patch. Fixed: tint:754 Change-Id: I3bd6de4d0f426fc3c66708bfd5b411a4051b375b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/49581 Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
083b591783
commit
e87ded8567
@@ -499,7 +499,7 @@ fn f() {
|
||||
|
||||
// TODO(dsinclair): Implement when constant_id exists
|
||||
TEST_F(BoundArrayAccessorsTest, DISABLED_Vector_Constant_Id_Clamps) {
|
||||
// [[constant_id(1300)]] let idx : i32;
|
||||
// [[override(1300)]] let idx : i32;
|
||||
// var a : vec3<f32>
|
||||
// var b : f32 = a[idx]
|
||||
//
|
||||
@@ -508,7 +508,7 @@ TEST_F(BoundArrayAccessorsTest, DISABLED_Vector_Constant_Id_Clamps) {
|
||||
|
||||
// TODO(dsinclair): Implement when constant_id exists
|
||||
TEST_F(BoundArrayAccessorsTest, DISABLED_Array_Constant_Id_Clamps) {
|
||||
// [[constant_id(1300)]] let idx : i32;
|
||||
// [[override(1300)]] let idx : i32;
|
||||
// var a : array<f32, 4>
|
||||
// var b : f32 = a[idx]
|
||||
//
|
||||
@@ -517,7 +517,7 @@ TEST_F(BoundArrayAccessorsTest, DISABLED_Array_Constant_Id_Clamps) {
|
||||
|
||||
// TODO(dsinclair): Implement when constant_id exists
|
||||
TEST_F(BoundArrayAccessorsTest, DISABLED_Matrix_Column_Constant_Id_Clamps) {
|
||||
// [[constant_id(1300)]] let idx : i32;
|
||||
// [[override(1300)]] let idx : i32;
|
||||
// var a : mat3x2<f32>
|
||||
// var b : f32 = a[idx][1]
|
||||
//
|
||||
@@ -526,7 +526,7 @@ TEST_F(BoundArrayAccessorsTest, DISABLED_Matrix_Column_Constant_Id_Clamps) {
|
||||
|
||||
// TODO(dsinclair): Implement when constant_id exists
|
||||
TEST_F(BoundArrayAccessorsTest, DISABLED_Matrix_Row_Constant_Id_Clamps) {
|
||||
// [[constant_id(1300)]] let idx : i32;
|
||||
// [[override(1300)]] let idx : i32;
|
||||
// var a : mat3x2<f32>
|
||||
// var b : f32 = a[1][idx]
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user