1 /* 2 * Copyright 2022 Google LLC 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkSLVersion_DEFINED 9 #define SkSLVersion_DEFINED 10 11 namespace SkSL { 12 13 enum class Version { 14 /** 15 * Desktop GLSL 1.10, GLSL ES 1.00, WebGL 1.0 16 */ 17 k100, 18 19 /** 20 * Desktop GLSL 3.30, GLSL ES 3.00, WebGL 2.0 21 */ 22 k300, 23 }; 24 25 } // namespace SkSL 26 27 #endif 28