Go to file
John Stiles eb68973c2f Disallow matrix ctors which overflow a column.
The GLSL spec allows matrix constructors containing vectors that would
split between multiple columns of the matrix. However, in practice, this
does not actually work well on a lot of GPUs!

- "cast not allowed", "internal error":
	Tegra 3
	Quadro P400
	GTX 660
	GTX 960
- Compiles, but generates wrong result:
	RadeonR9M470X
	RadeonHD7770

Since this isn't a pattern we expect to see in user code, we now report
it as an error at compile time. mat2(vec4) is treated as an exceptional
case and still allowed.

Change-Id: Id6925984a2d1ec948aec4defcc790a197a96cf86
Bug: skia:12443
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449518
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-09-16 22:14:49 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench Remove neglected fillOptions function from nanobench. 2021-09-14 19:49:03 +00:00
bin Always use python3 to run fetch-sk. 2021-08-31 13:16:22 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides fix tint roll - enable tint_build_wgsl_writer 2021-07-01 00:32:40 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
dm Reland "Fix compilation w/ "skia_enable_svg = false" (take 2)" 2021-09-01 17:54:08 +00:00
docker [infra] Update cmake docker image to be Debian 10 2021-07-23 11:21:31 +00:00
docs/examples Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
example Remove SDL from DEPS (and SDL example that used it) 2021-05-27 21:37:57 +00:00
experimental Fix redefined-macro warning on non-UNIX platforms. 2021-09-16 13:25:52 +00:00
fuzz Adjust fuzzing behavior for triangulator/dashing 2021-09-16 16:32:11 +00:00
gm drawPoints with maskfilter fix 2021-09-13 19:22:35 +00:00
gn Disallow matrix ctors which overflow a column. 2021-09-16 22:14:49 +00:00
include Reenable DSLParser 2021-09-16 15:28:19 +00:00
infra Add fwidth intrinsic to public SkSL in ES3. 2021-09-16 01:56:32 +00:00
modules Reland "Reland "Small changes for SkText that are not in experimental directory"" 2021-09-15 15:31:14 +00:00
platform_tools expose Font to JetSki 2021-09-07 21:51:30 +00:00
resources Disallow matrix ctors which overflow a column. 2021-09-16 22:14:49 +00:00
samplecode Move more classes to skgpu::v1 namespace 2021-09-16 14:04:16 +00:00
site Update supported iOS to 11 2021-09-10 19:19:20 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Disallow matrix ctors which overflow a column. 2021-09-16 22:14:49 +00:00
tests Disallow matrix ctors which overflow a column. 2021-09-16 22:14:49 +00:00
third_party Roll skcms from c1e907c8f007 to cf7d3f925b87 (1 revision) 2021-09-02 22:51:45 +00:00
tools Update bloaty treemap to work on Python < 3.9. 2021-09-13 17:20:49 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore add mskps/ to .gitignore 2021-07-06 21:04:55 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
AUTHORS Correct a typo in build_workaround_header.py 2021-07-29 13:06:01 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn Reland "Reland "Small changes for SkText that are not in experimental directory"" 2021-09-15 15:31:14 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll SK Tool from git_revision:3ea0896ec4b4f75b83d5b41c698bc6428e7d40b8 to 94f986aaa8f2 2021-09-16 19:33:19 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go.mod [infra] Roll infra to update vpython 2021-09-10 17:41:28 +00:00
go.sum [infra] Roll infra to update vpython 2021-09-10 17:41:28 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
PRESUBMIT.py Remove Docs-Preview links from PRESUBMIT.py 2021-09-02 17:53:05 +00:00
public.bzl Separate SkUnicode bazel source sets 2021-08-09 18:23:15 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Update supported iOS to 11 2021-09-10 19:19:20 +00:00
whitespace.txt Test SkCQ 2021-07-24 21:07:28 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18:32 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.