280fa3d303
This has always been a potential source of a bug. If the same texture is used twice in a shader with different swizzles we would overwrite the swizzle for the first use by that of the second use since there is only one fixed function swizzle per texture. It's not part of the sampler state. We set the swizzle when it is a feature, but always to RGBA. Also, highly speculative that this may improve ANGLE D3D11 ES3 performance compared to ES2. Bug: skia:10644 Change-Id: I8877afc3043c5ddaafd26ea9f9bd372303328c71 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313682 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.