mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Remove BlockStatement::insert()
Bug: tint:396 Bug: tint:390 Change-Id: I719b84804164fa801ded505ed56717948f06c7a7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/35502 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
db5ce658b5
commit
d408f2465a
@@ -175,11 +175,6 @@ TEST_F(VertexPullingTest, OneAttribute) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BuiltinDecoration{vertex_idx}
|
||||
@@ -197,6 +192,11 @@ TEST_F(VertexPullingTest, OneAttribute) {
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
@@ -262,11 +262,6 @@ TEST_F(VertexPullingTest, OneInstancedAttribute) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BuiltinDecoration{instance_idx}
|
||||
@@ -284,6 +279,11 @@ TEST_F(VertexPullingTest, OneInstancedAttribute) {
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
@@ -349,11 +349,6 @@ TEST_F(VertexPullingTest, OneAttributeDifferentOutputSet) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BuiltinDecoration{vertex_idx}
|
||||
@@ -371,6 +366,11 @@ TEST_F(VertexPullingTest, OneAttributeDifferentOutputSet) {
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
@@ -465,6 +465,24 @@ TEST_F(VertexPullingTest, ExistingVertexIndexAndInstanceIndex) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BindingDecoration{0}
|
||||
SetDecoration{4}
|
||||
}
|
||||
_tint_pulling_vertex_buffer_0
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BindingDecoration{1}
|
||||
SetDecoration{4}
|
||||
}
|
||||
_tint_pulling_vertex_buffer_1
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
@@ -491,24 +509,6 @@ TEST_F(VertexPullingTest, ExistingVertexIndexAndInstanceIndex) {
|
||||
in
|
||||
__i32
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BindingDecoration{0}
|
||||
SetDecoration{4}
|
||||
}
|
||||
_tint_pulling_vertex_buffer_0
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BindingDecoration{1}
|
||||
SetDecoration{4}
|
||||
}
|
||||
_tint_pulling_vertex_buffer_1
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
@@ -607,16 +607,6 @@ TEST_F(VertexPullingTest, TwoAttributesSameBuffer) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Variable{
|
||||
var_b
|
||||
private
|
||||
__array__f32_4
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BuiltinDecoration{vertex_idx}
|
||||
@@ -634,6 +624,16 @@ TEST_F(VertexPullingTest, TwoAttributesSameBuffer) {
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__f32
|
||||
}
|
||||
Variable{
|
||||
var_b
|
||||
private
|
||||
__array__f32_4
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
@@ -794,21 +794,6 @@ TEST_F(VertexPullingTest, FloatVectorAttributes) {
|
||||
[[block]]
|
||||
StructMember{[[ offset 0 ]] _tint_vertex_data: __array__u32_stride_4}
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__array__f32_2
|
||||
}
|
||||
Variable{
|
||||
var_b
|
||||
private
|
||||
__array__f32_3
|
||||
}
|
||||
Variable{
|
||||
var_c
|
||||
private
|
||||
__array__f32_4
|
||||
}
|
||||
Variable{
|
||||
Decorations{
|
||||
BuiltinDecoration{vertex_idx}
|
||||
@@ -844,6 +829,21 @@ TEST_F(VertexPullingTest, FloatVectorAttributes) {
|
||||
storage_buffer
|
||||
__struct_TintVertexData
|
||||
}
|
||||
Variable{
|
||||
var_a
|
||||
private
|
||||
__array__f32_2
|
||||
}
|
||||
Variable{
|
||||
var_b
|
||||
private
|
||||
__array__f32_3
|
||||
}
|
||||
Variable{
|
||||
var_c
|
||||
private
|
||||
__array__f32_4
|
||||
}
|
||||
Function main -> __void
|
||||
StageDecoration{vertex}
|
||||
()
|
||||
|
||||
Reference in New Issue
Block a user