skia2/resources/sksl/errors/LayoutInFunctions.sksl
Brian Osman 1391170bee More ctype cleanup in SkSL
- Remove ctypes that were entirely unused
- Remove explicit selection of default ctypes
- After that, only two ctype tokens are needed (SkPMColor4f and SkV4)
  ... remove all of the others from the parser

Change-Id: I2322aab73a19127b3b26850aefdad6140ea0f7e7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/410057
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-05-20 19:46:05 +00:00

38 lines
696 B
Plaintext

layout (
origin_upper_left,
push_constant,
blend_support_all_equations,
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 = SkPMColor4f)
void on_return() {}
void on_param(
layout (
origin_upper_left,
push_constant,
blend_support_all_equations,
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 = SkPMColor4f) float x) {}