mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
GLSL: add location layout qualifier before in/out variables.
Bug: tint:1398 Change-Id: I89c985d01d539ed166661ee5e858247cde4702b3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78080 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
fc792989e1
commit
8e01c45e54
@@ -27,7 +27,7 @@ tint_symbol_1 tint_symbol() {
|
||||
wrapper_result.out_var_SV_TARGET_1 = inner_result.out_var_SV_TARGET_1;
|
||||
return wrapper_result;
|
||||
}
|
||||
out vec4 out_var_SV_TARGET_1;
|
||||
layout(location = 0) out vec4 out_var_SV_TARGET_1;
|
||||
void main() {
|
||||
tint_symbol_1 outputs;
|
||||
outputs = tint_symbol();
|
||||
|
||||
@@ -27,7 +27,7 @@ tint_symbol_1 tint_symbol() {
|
||||
wrapper_result.out_var_SV_TARGET_1 = inner_result.out_var_SV_TARGET_1;
|
||||
return wrapper_result;
|
||||
}
|
||||
out vec4 out_var_SV_TARGET_1;
|
||||
layout(location = 0) out vec4 out_var_SV_TARGET_1;
|
||||
void main() {
|
||||
tint_symbol_1 outputs;
|
||||
outputs = tint_symbol();
|
||||
|
||||
@@ -27,7 +27,7 @@ tint_symbol_1 tint_symbol() {
|
||||
wrapper_result.out_var_SV_TARGET_1 = inner_result.out_var_SV_TARGET_1;
|
||||
return wrapper_result;
|
||||
}
|
||||
out vec4 out_var_SV_TARGET_1;
|
||||
layout(location = 0) out vec4 out_var_SV_TARGET_1;
|
||||
void main() {
|
||||
tint_symbol_1 outputs;
|
||||
outputs = tint_symbol();
|
||||
|
||||
Reference in New Issue
Block a user