skia2/resources/sksl/errors/LayoutInFunctions.sksl
Brian Osman 8f1dff6a9e Remove layout(marker) from runtime effect SkSL
This is another strange, experimental feature that clutters the
implementation and isn't used by anyone (to my knowledge).

Change-Id: I538b7eca0cd28aab32f4739b23459731ade9105e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398226
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-04-19 18:48:45 +00:00

42 lines
752 B
Plaintext

layout (
origin_upper_left,
override_coverage,
push_constant,
blend_support_all_equations,
tracked,
srgb_unpremul,
key,
location = 1,
offset = 1,
binding = 1,
index = 1,
set = 1,
builtin = 1,
input_attachment_index = 1,
max_vertices = 1,
invocations = 1,
when = one,
ctype = int)
void on_return() {}
void on_param(
layout (
origin_upper_left,
override_coverage,
push_constant,
blend_support_all_equations,
tracked,
srgb_unpremul,
key,
location = 1,
offset = 1,
binding = 1,
index = 1,
set = 1,
builtin = 1,
input_attachment_index = 1,
max_vertices = 1,
invocations = 1,
when = one,
ctype = int) float x) {}