aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLSPIRVCodeGenerator.h
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2018-07-13 12:48:50 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-13 18:35:34 +0000
commit81d151103faca621cfe62c9dfbec842ec9f337c4 (patch)
treecc871ef37e60158ee9dc3865fe096a9327188473 /src/sksl/SkSLSPIRVCodeGenerator.h
parentbe396c05f904af1ced1c902df230098ad11555d7 (diff)
Fixed SPIR-V geometry shaders
sk_in count was being computed incorrectly, and the capabilities and interfaces were incorrect. Bug: skia:8143 Change-Id: If9ac7c152a3b04be3b81ead09270af6d053e006e Reviewed-on: https://skia-review.googlesource.com/141230 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLSPIRVCodeGenerator.h')
-rw-r--r--src/sksl/SkSLSPIRVCodeGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h
index 16f5beb68f..7010c84701 100644
--- a/src/sksl/SkSLSPIRVCodeGenerator.h
+++ b/src/sksl/SkSLSPIRVCodeGenerator.h
@@ -69,7 +69,7 @@ public:
: INHERITED(program, errors, out)
, fContext(*context)
, fDefaultLayout(MemoryLayout::k140_Standard)
- , fCapabilities(1 << SpvCapabilityShader)
+ , fCapabilities(0)
, fIdCount(1)
, fBoolTrue(0)
, fBoolFalse(0)