skia2/bazel
Arman Uguray c1504658a7 [sksl][wgsl] Enable WGSL validation using Tint
- Introduced the SK_ENABLE_WGSL_VALIDATION macro which is currently only
  enabled when skslc gets compiled when using the `skia_compile_sksl_tests`
  setting.
- SkSLCompiler::toWGSL now validates its output using Tint's WGSL reader
  structures based on conditionally compiled code depending on the
  SK_ENABLE_WGSL_VALIDATION flag.
- Fixed `warning: use of deprecated language feature: struct members should be separated with commas"
  warnings that were generated for HelloWorld.wgsl.

Bug: skia:13092
Change-Id: Ib894457030004966221faf82f61360e390b95e22
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/537802
Commit-Queue: Arman Uguray <armansito@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2022-05-17 18:25:01 +00:00
..
common_config_settings [bazel] Add shims to help translation into G3 2022-04-29 19:27:54 +00:00
external [sksl][wgsl] Enable WGSL validation using Tint 2022-05-17 18:25:01 +00:00
gcs_mirror gcs_mirror.go: Add support for .zip files. 2022-04-12 22:01:38 +00:00
rbe [bazel] Run buildifier on BUILD.bazel files 2022-04-14 18:13:43 +00:00
user [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
BUILD.bazel [sksl][wgsl] Enable WGSL validation using Tint 2022-05-17 18:25:01 +00:00
buildrc [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
cc_binary_with_flags.bzl [includes] Enforce IWYU on //example 2022-04-29 15:39:33 +00:00
karma_test.bzl [bazel] Make use of test_on_env to spin up server for gms 2022-02-28 14:05:54 +00:00
macros.bzl [bazel] Add shims to help translation into G3 2022-04-29 19:27:54 +00:00
Makefile Revert "[bazel] Run gazelle only on the files that changed" 2022-05-16 15:41:39 +00:00