diff options
author | Ruiqi Mao <ruiqimao@google.com> | 2018-07-17 10:19:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-17 15:08:40 +0000 |
commit | b609e6dc6a02336aed04caaddcdd5ccfbe7ba9ec (patch) | |
tree | 052d6e5c5c7835481f5a0e0bead6ec575679b76f /src/gpu/GrShaderCaps.h | |
parent | 6dd4b209091b876832218e8adf1909669960bf98 (diff) |
added byte and ubyte types to SKSL
created new GMs for skinning
Bug: skia:
Change-Id: I15fb2bd02fba8beb6dd2dd3f3716da016ea92192
Reviewed-on: https://skia-review.googlesource.com/140241
Commit-Queue: Ruiqi Mao <ruiqimao@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/GrShaderCaps.h')
-rw-r--r-- | src/gpu/GrShaderCaps.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrShaderCaps.h b/src/gpu/GrShaderCaps.h index ee3681a0b2..a599f1deab 100644 --- a/src/gpu/GrShaderCaps.h +++ b/src/gpu/GrShaderCaps.h @@ -84,6 +84,8 @@ public: bool halfIs32Bits() const { return fHalfIs32Bits; } + bool unsignedSupport() const { return fUnsignedSupport; } + AdvBlendEqInteraction advBlendEqInteraction() const { return fAdvBlendEqInteraction; } bool mustEnableAdvBlendEqs() const { @@ -252,6 +254,7 @@ private: bool fFPManipulationSupport : 1; bool fFloatIs32Bits : 1; bool fHalfIs32Bits : 1; + bool fUnsignedSupport : 1; // Used for specific driver bug work arounds bool fCanUseAnyFunctionInShader : 1; |