blob: 392328f43c69c4b2e35d9ce40e220c2067b9c806 [file] [log] [blame]
SKIP: FAILED
enable chromium_internal_input_attachments;
@input_attachment_index(3) @group(1) @binding(0) var arg_0 : input_attachment<i32>;
fn inputAttachmentLoad_315bf5() {
var res : vec4<i32> = inputAttachmentLoad(arg_0);
prevent_dce = res;
}
@group(2) @binding(0) var<storage, read_write> prevent_dce : vec4<i32>;
@fragment
fn fragment_main() {
inputAttachmentLoad_315bf5();
}
Failed to generate: <dawn>/test/tint/builtins/gen/var/inputAttachmentLoad/315bf5.wgsl:39:2 error: '@input_attachment_index' is not valid for function parameters
@input_attachment_index(3)
^^^^^^^^^^^^^^^^^^^^^^