mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
Move builtin_to_string() and builtin_type() to the CanonicalizeEntryPointIO transform. Use the former to rename entry point IO variables to the gl_ names, and the latter to cast values to the correct type. Change-Id: Iddfad574ddd660ff1bfd89a399a001b967b6b67e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78380 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
71 lines
964 B
GLSL
71 lines
964 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
struct S {
|
|
float a;
|
|
};
|
|
|
|
layout(binding = 0) buffer S_1 {
|
|
float a;
|
|
} b0;
|
|
layout(binding = 0) buffer S_2 {
|
|
float a;
|
|
} b1;
|
|
layout(binding = 0) buffer S_3 {
|
|
float a;
|
|
} b2;
|
|
layout(binding = 0) buffer S_4 {
|
|
float a;
|
|
} b3;
|
|
layout(binding = 0) buffer S_5 {
|
|
float a;
|
|
} b4;
|
|
layout(binding = 0) buffer S_6 {
|
|
float a;
|
|
} b5;
|
|
layout(binding = 0) buffer S_7 {
|
|
float a;
|
|
} b6;
|
|
layout(binding = 0) buffer S_8 {
|
|
float a;
|
|
} b7;
|
|
layout(binding = 1) uniform S_9 {
|
|
float a;
|
|
} b8;
|
|
|
|
layout(binding = 1) uniform S_10 {
|
|
float a;
|
|
} b9;
|
|
|
|
layout(binding = 1) uniform S_11 {
|
|
float a;
|
|
} b10;
|
|
|
|
layout(binding = 1) uniform S_12 {
|
|
float a;
|
|
} b11;
|
|
|
|
layout(binding = 1) uniform S_13 {
|
|
float a;
|
|
} b12;
|
|
|
|
layout(binding = 1) uniform S_14 {
|
|
float a;
|
|
} b13;
|
|
|
|
layout(binding = 1) uniform S_15 {
|
|
float a;
|
|
} b14;
|
|
|
|
layout(binding = 1) uniform S_16 {
|
|
float a;
|
|
} b15;
|
|
|
|
void tint_symbol() {
|
|
}
|
|
|
|
void main() {
|
|
tint_symbol();
|
|
return;
|
|
}
|