tint->dawn: Shuffle source tree in preperation of merging repos

docs/    -> docs/tint/
fuzzers/ -> src/tint/fuzzers/
samples/ -> src/tint/cmd/
src/     -> src/tint/
test/    -> test/tint/

BUG=tint:1418,tint:1433

Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Ryan Harrison
2022-02-21 15:19:07 +00:00
committed by Tint LUCI CQ
parent 38f1e9c75c
commit dbc13af287
12231 changed files with 4897 additions and 4871 deletions

View File

@@ -0,0 +1,6 @@
fn a(a : i32) {
{
var a = a;
var b = a;
}
}

View File

@@ -0,0 +1,13 @@
#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
void a(int a_1) {
{
int a_2 = a_1;
int b = a_2;
}
}

View File

@@ -0,0 +1,11 @@
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void a(int a_1) {
{
int a_2 = a_1;
int b = a_2;
}
}

View File

@@ -0,0 +1,10 @@
#include <metal_stdlib>
using namespace metal;
void a(int a_1) {
{
int a_2 = a_1;
int b = a_2;
}
}

View File

@@ -0,0 +1,34 @@
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 15
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %unused_entry_point "unused_entry_point"
OpName %a "a"
OpName %a_1 "a_1"
OpName %a_2 "a_2"
OpName %b "b"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%int = OpTypeInt 32 1
%5 = OpTypeFunction %void %int
%_ptr_Function_int = OpTypePointer Function %int
%12 = OpConstantNull %int
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%a = OpFunction %void None %5
%a_1 = OpFunctionParameter %int
%9 = OpLabel
%a_2 = OpVariable %_ptr_Function_int Function %12
%b = OpVariable %_ptr_Function_int Function %12
OpStore %a_2 %a_1
%13 = OpLoad %int %a_2
OpStore %b %13
OpReturn
OpFunctionEnd

View File

@@ -0,0 +1,6 @@
fn a(a : i32) {
{
var a = a;
var b = a;
}
}

View File

@@ -0,0 +1,6 @@
fn f(a : i32) {
{
let a = a;
let b = a;
}
}

View File

@@ -0,0 +1,12 @@
#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
void f(int a) {
{
int b = a;
}
}

View File

@@ -0,0 +1,10 @@
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void f(int a) {
{
const int b = a;
}
}

View File

@@ -0,0 +1,10 @@
#include <metal_stdlib>
using namespace metal;
void f(int a) {
{
int const a_1 = a;
int const b = a_1;
}
}

View File

@@ -0,0 +1,25 @@
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 10
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %a "a"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%int = OpTypeInt 32 1
%5 = OpTypeFunction %void %int
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %5
%a = OpFunctionParameter %int
%9 = OpLabel
OpReturn
OpFunctionEnd

View File

@@ -0,0 +1,6 @@
fn f(a : i32) {
{
let a = a;
let b = a;
}
}

View File

@@ -0,0 +1,6 @@
fn f(a : i32) {
{
var a = a;
var b = a;
}
}

View File

@@ -0,0 +1,13 @@
#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
void f(int a) {
{
int a_1 = a;
int b = a_1;
}
}

View File

@@ -0,0 +1,11 @@
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void f(int a) {
{
int a_1 = a;
int b = a_1;
}
}

View File

@@ -0,0 +1,10 @@
#include <metal_stdlib>
using namespace metal;
void f(int a) {
{
int a_1 = a;
int b = a_1;
}
}

View File

@@ -0,0 +1,34 @@
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 15
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %a "a"
OpName %a_1 "a_1"
OpName %b "b"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%int = OpTypeInt 32 1
%5 = OpTypeFunction %void %int
%_ptr_Function_int = OpTypePointer Function %int
%12 = OpConstantNull %int
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %5
%a = OpFunctionParameter %int
%9 = OpLabel
%a_1 = OpVariable %_ptr_Function_int Function %12
%b = OpVariable %_ptr_Function_int Function %12
OpStore %a_1 %a
%13 = OpLoad %int %a_1
OpStore %b %13
OpReturn
OpFunctionEnd

View File

@@ -0,0 +1,6 @@
fn f(a : i32) {
{
var a = a;
var b = a;
}
}