blob: aa4f9eae989a744b3d7afa1c589f03db5ef8bf55 [file] [log] [blame]
SKIP: INVALID
enable chromium_internal_input_attachments;
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec4<i32>;
@input_attachment_index(3) @group(1) @binding(0) var arg_0 : input_attachment<i32>;
fn inputAttachmentLoad_315bf5() -> vec4<i32> {
var res : vec4<i32> = inputAttachmentLoad(arg_0);
return res;
}
@fragment
fn fragment_main() {
prevent_dce = inputAttachmentLoad_315bf5();
}
Failed to generate: <dawn>/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl:47:44 error: unresolved value 'arg_0'
var res: vec4<i32> = inputAttachmentLoad(arg_0);
^^^^^
tint executable returned error: exit status 1