skia2/resources/sksl/errors/PrecisionQualifiersDisallowed.sksl
John Stiles b806da4501 Honor lowp/mediump/highp precision qualifiers in IRGenerator.
This CL does not update the DSLParser to honor these precision
qualifiers; that will be done in a followup.

Change-Id: Ib629bc99c0e6c7afb550a381d4e3b6ccc26aa64e
Bug: skia:12248
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436337
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-08-04 21:29:10 +00:00

5 lines
141 B
Plaintext

// Precision qualifiers are only allowed in a Runtime Effect.
void h() { highp int x; }
void m() { mediump int x; }
void l() { lowp int x; }