blob: e6717a9e4d4579d737e68e8d062dd6f08066678b [file] [log] [blame]
joshualitt30ba4362014-08-21 20:18:45 -07001/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
egdaniel2d721d32015-11-11 13:06:05 -08008#include "GrGLSLFragmentShaderBuilder.h"
egdaniel574a4c12015-11-02 06:22:44 -08009#include "GrRenderTarget.h"
ethannicholas22793252016-01-30 09:59:10 -080010#include "gl/GrGLGpu.h"
egdanielcb7ba1e2015-10-26 08:38:25 -070011#include "glsl/GrGLSL.h"
jvanverthcba99b82015-06-24 06:59:57 -070012#include "glsl/GrGLSLCaps.h"
egdaniel8dcdedc2015-11-11 06:27:20 -080013#include "glsl/GrGLSLProgramBuilder.h"
egdaniel7ea439b2015-12-03 09:20:44 -080014#include "glsl/GrGLSLUniformHandler.h"
egdaniel0eafe792015-11-20 14:01:22 -080015#include "glsl/GrGLSLVarying.h"
joshualitt47bb3822014-10-07 16:43:25 -070016
egdaniel2d721d32015-11-11 13:06:05 -080017const char* GrGLSLFragmentShaderBuilder::kDstTextureColorName = "_dstColor";
joshualitt30ba4362014-08-21 20:18:45 -070018
cdalton8917d622015-05-06 13:40:21 -070019static const char* specific_layout_qualifier_name(GrBlendEquation equation) {
20 SkASSERT(GrBlendEquationIsAdvanced(equation));
21
22 static const char* kLayoutQualifierNames[] = {
23 "blend_support_screen",
24 "blend_support_overlay",
25 "blend_support_darken",
26 "blend_support_lighten",
27 "blend_support_colordodge",
28 "blend_support_colorburn",
29 "blend_support_hardlight",
30 "blend_support_softlight",
31 "blend_support_difference",
32 "blend_support_exclusion",
33 "blend_support_multiply",
34 "blend_support_hsl_hue",
35 "blend_support_hsl_saturation",
36 "blend_support_hsl_color",
37 "blend_support_hsl_luminosity"
38 };
39 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation];
40
41 GR_STATIC_ASSERT(0 == kScreen_GrBlendEquation - kFirstAdvancedGrBlendEquation);
42 GR_STATIC_ASSERT(1 == kOverlay_GrBlendEquation - kFirstAdvancedGrBlendEquation);
43 GR_STATIC_ASSERT(2 == kDarken_GrBlendEquation - kFirstAdvancedGrBlendEquation);
44 GR_STATIC_ASSERT(3 == kLighten_GrBlendEquation - kFirstAdvancedGrBlendEquation);
45 GR_STATIC_ASSERT(4 == kColorDodge_GrBlendEquation - kFirstAdvancedGrBlendEquation);
46 GR_STATIC_ASSERT(5 == kColorBurn_GrBlendEquation - kFirstAdvancedGrBlendEquation);
47 GR_STATIC_ASSERT(6 == kHardLight_GrBlendEquation - kFirstAdvancedGrBlendEquation);
48 GR_STATIC_ASSERT(7 == kSoftLight_GrBlendEquation - kFirstAdvancedGrBlendEquation);
49 GR_STATIC_ASSERT(8 == kDifference_GrBlendEquation - kFirstAdvancedGrBlendEquation);
50 GR_STATIC_ASSERT(9 == kExclusion_GrBlendEquation - kFirstAdvancedGrBlendEquation);
51 GR_STATIC_ASSERT(10 == kMultiply_GrBlendEquation - kFirstAdvancedGrBlendEquation);
52 GR_STATIC_ASSERT(11 == kHSLHue_GrBlendEquation - kFirstAdvancedGrBlendEquation);
53 GR_STATIC_ASSERT(12 == kHSLSaturation_GrBlendEquation - kFirstAdvancedGrBlendEquation);
54 GR_STATIC_ASSERT(13 == kHSLColor_GrBlendEquation - kFirstAdvancedGrBlendEquation);
55 GR_STATIC_ASSERT(14 == kHSLLuminosity_GrBlendEquation - kFirstAdvancedGrBlendEquation);
56 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kLayoutQualifierNames) ==
bsalomonf7cc8772015-05-11 11:21:14 -070057 kGrBlendEquationCnt - kFirstAdvancedGrBlendEquation);
cdalton8917d622015-05-06 13:40:21 -070058}
59
egdaniel2d721d32015-11-11 13:06:05 -080060GrGLSLFragmentShaderBuilder::FragPosKey
61GrGLSLFragmentShaderBuilder::KeyForFragmentPosition(const GrRenderTarget* dst) {
joshualitt30ba4362014-08-21 20:18:45 -070062 if (kTopLeft_GrSurfaceOrigin == dst->origin()) {
63 return kTopLeftFragPosRead_FragPosKey;
64 } else {
65 return kBottomLeftFragPosRead_FragPosKey;
66 }
67}
68
egdaniel2d721d32015-11-11 13:06:05 -080069GrGLSLFragmentShaderBuilder::GrGLSLFragmentShaderBuilder(GrGLSLProgramBuilder* program,
70 uint8_t fragPosKey)
cdalton85285412016-02-18 12:37:07 -080071 : GrGLSLFragmentBuilder(program)
joshualitt30ba4362014-08-21 20:18:45 -070072 , fSetupFragPosition(false)
joshualitt79f8fae2014-10-28 17:59:26 -070073 , fTopLeftFragPosRead(kTopLeftFragPosRead_FragPosKey == fragPosKey)
cdalton85285412016-02-18 12:37:07 -080074 , fHasCustomColorOutput(false)
joshualittb4384b92014-10-21 12:53:15 -070075 , fCustomColorOutputIndex(-1)
cdalton85285412016-02-18 12:37:07 -080076 , fHasSecondaryOutput(false)
cdalton87332102016-02-26 12:22:02 -080077 , fHasInitializedSampleMask(false) {
cdalton85285412016-02-18 12:37:07 -080078 fSubstageIndices.push_back(0);
cdalton87332102016-02-26 12:22:02 -080079#ifdef SK_DEBUG
80 fUsedProcessorFeatures = GrProcessor::kNone_RequiredFeatures;
81 fHasReadDstColor = false;
82#endif
83}
84
85bool GrGLSLFragmentShaderBuilder::hasFragmentPosition() const {
86 return 0 != fProgramBuilder->header().fFragPosKey;
joshualitt30ba4362014-08-21 20:18:45 -070087}
88
egdaniel2d721d32015-11-11 13:06:05 -080089bool GrGLSLFragmentShaderBuilder::enableFeature(GLSLFeature feature) {
cdalton4a98cdb2016-03-01 12:12:20 -080090 const GrGLSLCaps& glslCaps = *fProgramBuilder->glslCaps();
joshualitt30ba4362014-08-21 20:18:45 -070091 switch (feature) {
cdalton4a98cdb2016-03-01 12:12:20 -080092 case kStandardDerivatives_GLSLFeature:
93 if (!glslCaps.shaderDerivativeSupport()) {
joshualitt30ba4362014-08-21 20:18:45 -070094 return false;
95 }
cdalton4a98cdb2016-03-01 12:12:20 -080096 if (const char* extension = glslCaps.shaderDerivativeExtensionString()) {
egdaniel574a4c12015-11-02 06:22:44 -080097 this->addFeature(1 << kStandardDerivatives_GLSLFeature, extension);
joshualitt30ba4362014-08-21 20:18:45 -070098 }
99 return true;
cdalton4a98cdb2016-03-01 12:12:20 -0800100 case kPixelLocalStorage_GLSLFeature:
101 if (glslCaps.pixelLocalStorageSize() <= 0) {
ethannicholas22793252016-01-30 09:59:10 -0800102 return false;
103 }
104 this->addFeature(1 << kPixelLocalStorage_GLSLFeature,
105 "GL_EXT_shader_pixel_local_storage");
106 return true;
cdalton4a98cdb2016-03-01 12:12:20 -0800107 case kMultisampleInterpolation_GLSLFeature:
108 if (!glslCaps.multisampleInterpolationSupport()) {
109 return false;
110 }
111 if (const char* extension = glslCaps.multisampleInterpolationExtensionString()) {
112 this->addFeature(1 << kMultisampleInterpolation_GLSLFeature, extension);
113 }
114 return true;
joshualitt30ba4362014-08-21 20:18:45 -0700115 default:
116 SkFAIL("Unexpected GLSLFeature requested.");
117 return false;
118 }
119}
120
egdaniel2d721d32015-11-11 13:06:05 -0800121SkString GrGLSLFragmentShaderBuilder::ensureFSCoords2D(const GrGLSLTransformedCoordsArray& coords,
122 int index) {
joshualitt23e280d2014-09-18 12:26:38 -0700123 if (kVec3f_GrSLType != coords[index].getType()) {
124 SkASSERT(kVec2f_GrSLType == coords[index].getType());
joshualitt30ba4362014-08-21 20:18:45 -0700125 return coords[index].getName();
126 }
127
128 SkString coords2D("coords2D");
129 if (0 != index) {
130 coords2D.appendf("_%i", index);
131 }
132 this->codeAppendf("\tvec2 %s = %s.xy / %s.z;",
133 coords2D.c_str(), coords[index].c_str(), coords[index].c_str());
134 return coords2D;
135}
136
egdaniel2d721d32015-11-11 13:06:05 -0800137const char* GrGLSLFragmentShaderBuilder::fragmentPosition() {
cdalton87332102016-02-26 12:22:02 -0800138 SkASSERT(this->hasFragmentPosition());
139 SkDEBUGCODE(fUsedProcessorFeatures |= GrProcessor::kFragmentPosition_RequiredFeature;)
joshualitt30ba4362014-08-21 20:18:45 -0700140
egdaniel8dcdedc2015-11-11 06:27:20 -0800141 const GrGLSLCaps* glslCaps = fProgramBuilder->glslCaps();
joshualitt30ba4362014-08-21 20:18:45 -0700142 // We only declare "gl_FragCoord" when we're in the case where we want to use layout qualifiers
143 // to reverse y. Otherwise it isn't necessary and whether the "in" qualifier appears in the
144 // declaration varies in earlier GLSL specs. So it is simpler to omit it.
145 if (fTopLeftFragPosRead) {
146 fSetupFragPosition = true;
147 return "gl_FragCoord";
egdaniel8dcdedc2015-11-11 06:27:20 -0800148 } else if (const char* extension = glslCaps->fragCoordConventionsExtensionString()) {
joshualitt30ba4362014-08-21 20:18:45 -0700149 if (!fSetupFragPosition) {
egdaniel8dcdedc2015-11-11 06:27:20 -0800150 if (glslCaps->generation() < k150_GrGLSLGeneration) {
joshualitt30ba4362014-08-21 20:18:45 -0700151 this->addFeature(1 << kFragCoordConventions_GLSLPrivateFeature,
egdaniel8dcdedc2015-11-11 06:27:20 -0800152 extension);
joshualitt30ba4362014-08-21 20:18:45 -0700153 }
154 fInputs.push_back().set(kVec4f_GrSLType,
egdaniel0d3f0612015-10-21 10:45:48 -0700155 GrGLSLShaderVar::kIn_TypeModifier,
joshualitt30ba4362014-08-21 20:18:45 -0700156 "gl_FragCoord",
bsalomonc0bd6482014-12-09 10:04:14 -0800157 kDefault_GrSLPrecision,
egdanielae474182016-01-21 11:19:52 -0800158 "origin_upper_left");
joshualitt30ba4362014-08-21 20:18:45 -0700159 fSetupFragPosition = true;
160 }
161 return "gl_FragCoord";
162 } else {
robertphillips18c58c72015-07-21 12:06:52 -0700163 static const char* kTempName = "tmpXYFragCoord";
joshualitt30ba4362014-08-21 20:18:45 -0700164 static const char* kCoordName = "fragCoordYDown";
165 if (!fSetupFragPosition) {
joshualitt30ba4362014-08-21 20:18:45 -0700166 const char* rtHeightName;
167
egdaniel7ea439b2015-12-03 09:20:44 -0800168 fProgramBuilder->addRTHeightUniform("RTHeight", &rtHeightName);
joshualitt30ba4362014-08-21 20:18:45 -0700169
robertphillips18c58c72015-07-21 12:06:52 -0700170 // The Adreno compiler seems to be very touchy about access to "gl_FragCoord".
171 // Accessing glFragCoord.zw can cause a program to fail to link. Additionally,
172 // depending on the surrounding code, accessing .xy with a uniform involved can
173 // do the same thing. Copying gl_FragCoord.xy into a temp vec2 beforehand
174 // (and only accessing .xy) seems to "fix" things.
ethannicholas1cbb5ea2015-12-14 11:37:55 -0800175 const char* precision = glslCaps->usesPrecisionModifiers() ? "highp " : "";
176 this->codePrependf("\t%svec4 %s = vec4(%s.x, %s - %s.y, 1.0, 1.0);\n",
177 precision, kCoordName, kTempName, rtHeightName, kTempName);
178 this->codePrependf("%svec2 %s = gl_FragCoord.xy;", precision, kTempName);
joshualitt30ba4362014-08-21 20:18:45 -0700179 fSetupFragPosition = true;
180 }
181 SkASSERT(fProgramBuilder->fUniformHandles.fRTHeightUni.isValid());
182 return kCoordName;
183 }
184}
185
cdalton33ad7012016-02-22 07:55:44 -0800186void GrGLSLFragmentShaderBuilder::maskSampleCoverage(const char* mask, bool invert) {
187 const GrGLSLCaps& glslCaps = *fProgramBuilder->glslCaps();
188 if (!glslCaps.sampleVariablesSupport()) {
189 SkDEBUGFAIL("Attempted to mask sample coverage without support.");
190 return;
191 }
192 if (const char* extension = glslCaps.sampleVariablesExtensionString()) {
193 this->addFeature(1 << kSampleVariables_GLSLPrivateFeature, extension);
194 }
195 if (!fHasInitializedSampleMask) {
196 this->codePrependf("gl_SampleMask[0] = -1;");
197 fHasInitializedSampleMask = true;
198 }
199 if (invert) {
200 this->codeAppendf("gl_SampleMask[0] &= ~(%s);", mask);
201 } else {
202 this->codeAppendf("gl_SampleMask[0] &= %s;", mask);
203 }
204}
205
206void GrGLSLFragmentShaderBuilder::overrideSampleCoverage(const char* mask) {
207 const GrGLSLCaps& glslCaps = *fProgramBuilder->glslCaps();
208 if (!glslCaps.sampleMaskOverrideCoverageSupport()) {
209 SkDEBUGFAIL("Attempted to override sample coverage without support.");
210 return;
211 }
212 SkASSERT(glslCaps.sampleVariablesSupport());
213 if (const char* extension = glslCaps.sampleVariablesExtensionString()) {
214 this->addFeature(1 << kSampleVariables_GLSLPrivateFeature, extension);
215 }
216 if (this->addFeature(1 << kSampleMaskOverrideCoverage_GLSLPrivateFeature,
217 "GL_NV_sample_mask_override_coverage")) {
218 // Redeclare gl_SampleMask with layout(override_coverage) if we haven't already.
219 fOutputs.push_back().set(kInt_GrSLType, GrShaderVar::kOut_TypeModifier,
220 "gl_SampleMask", 1, kHigh_GrSLPrecision,
221 "override_coverage");
222 }
223 this->codeAppendf("gl_SampleMask[0] = %s;", mask);
224 fHasInitializedSampleMask = true;
225}
226
egdaniel2d721d32015-11-11 13:06:05 -0800227const char* GrGLSLFragmentShaderBuilder::dstColor() {
cdalton87332102016-02-26 12:22:02 -0800228 SkDEBUGCODE(fHasReadDstColor = true;)
joshualitt47bb3822014-10-07 16:43:25 -0700229
ethannicholas22793252016-01-30 09:59:10 -0800230 const char* override = fProgramBuilder->primitiveProcessor().getDestColorOverride();
231 if (override != nullptr) {
232 return override;
233 }
234
egdaniel472d44e2015-10-22 08:20:00 -0700235 const GrGLSLCaps* glslCaps = fProgramBuilder->glslCaps();
236 if (glslCaps->fbFetchSupport()) {
cdaltonc08f1962016-02-12 12:14:06 -0800237 this->addFeature(1 << kFramebufferFetch_GLSLPrivateFeature,
egdaniel472d44e2015-10-22 08:20:00 -0700238 glslCaps->fbFetchExtensionString());
joshualittb4384b92014-10-21 12:53:15 -0700239
joshualitt3c1096f2015-01-13 13:13:59 -0800240 // Some versions of this extension string require declaring custom color output on ES 3.0+
egdaniel472d44e2015-10-22 08:20:00 -0700241 const char* fbFetchColorName = glslCaps->fbFetchColorName();
242 if (glslCaps->fbFetchNeedsCustomOutput()) {
joshualittb4384b92014-10-21 12:53:15 -0700243 this->enableCustomOutput();
244 fOutputs[fCustomColorOutputIndex].setTypeModifier(GrShaderVar::kInOut_TypeModifier);
egdaniel8dcdedc2015-11-11 06:27:20 -0800245 fbFetchColorName = DeclaredColorOutputName();
joshualittb4384b92014-10-21 12:53:15 -0700246 }
247 return fbFetchColorName;
bsalomon50785a32015-02-06 07:02:37 -0800248 } else {
bsalomon6a44c6a2015-05-26 09:49:05 -0700249 return kDstTextureColorName;
bsalomon50785a32015-02-06 07:02:37 -0800250 }
joshualitt47bb3822014-10-07 16:43:25 -0700251}
252
egdaniel2d721d32015-11-11 13:06:05 -0800253void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) {
cdalton8917d622015-05-06 13:40:21 -0700254 SkASSERT(GrBlendEquationIsAdvanced(equation));
255
egdaniel472d44e2015-10-22 08:20:00 -0700256 const GrGLSLCaps& caps = *fProgramBuilder->glslCaps();
cdalton8917d622015-05-06 13:40:21 -0700257 if (!caps.mustEnableAdvBlendEqs()) {
258 return;
259 }
260
261 this->addFeature(1 << kBlendEquationAdvanced_GLSLPrivateFeature,
262 "GL_KHR_blend_equation_advanced");
263 if (caps.mustEnableSpecificAdvBlendEqs()) {
264 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier);
265 } else {
266 this->addLayoutQualifier("blend_support_all_equations", kOut_InterfaceQualifier);
267 }
268}
269
egdaniel2d721d32015-11-11 13:06:05 -0800270void GrGLSLFragmentShaderBuilder::enableCustomOutput() {
joshualittb4384b92014-10-21 12:53:15 -0700271 if (!fHasCustomColorOutput) {
272 fHasCustomColorOutput = true;
273 fCustomColorOutputIndex = fOutputs.count();
274 fOutputs.push_back().set(kVec4f_GrSLType,
egdaniel0d3f0612015-10-21 10:45:48 -0700275 GrGLSLShaderVar::kOut_TypeModifier,
egdaniel8dcdedc2015-11-11 06:27:20 -0800276 DeclaredColorOutputName());
egdanielb80ec8b2016-02-09 09:54:43 -0800277 fProgramBuilder->finalizeFragmentOutputColor(fOutputs.back());
joshualittb4384b92014-10-21 12:53:15 -0700278 }
joshualitt47bb3822014-10-07 16:43:25 -0700279}
280
egdaniel2d721d32015-11-11 13:06:05 -0800281void GrGLSLFragmentShaderBuilder::enableSecondaryOutput() {
joshualitt47bb3822014-10-07 16:43:25 -0700282 SkASSERT(!fHasSecondaryOutput);
283 fHasSecondaryOutput = true;
egdaniel8dcdedc2015-11-11 06:27:20 -0800284 const GrGLSLCaps& caps = *fProgramBuilder->glslCaps();
285 if (const char* extension = caps.secondaryOutputExtensionString()) {
286 this->addFeature(1 << kBlendFuncExtended_GLSLPrivateFeature, extension);
kkinnunend94708e2015-07-30 22:47:04 -0700287 }
288
289 // If the primary output is declared, we must declare also the secondary output
290 // and vice versa, since it is not allowed to use a built-in gl_FragColor and a custom
291 // output. The condition also co-incides with the condition in whici GLES SL 2.0
292 // requires the built-in gl_SecondaryFragColorEXT, where as 3.0 requires a custom output.
kkinnunend94708e2015-07-30 22:47:04 -0700293 if (caps.mustDeclareFragmentShaderOutput()) {
egdaniel0d3f0612015-10-21 10:45:48 -0700294 fOutputs.push_back().set(kVec4f_GrSLType, GrGLSLShaderVar::kOut_TypeModifier,
egdaniel8dcdedc2015-11-11 06:27:20 -0800295 DeclaredSecondaryColorOutputName());
egdanielb80ec8b2016-02-09 09:54:43 -0800296 fProgramBuilder->finalizeFragmentSecondaryColor(fOutputs.back());
kkinnunend94708e2015-07-30 22:47:04 -0700297 }
joshualitt47bb3822014-10-07 16:43:25 -0700298}
299
egdaniel2d721d32015-11-11 13:06:05 -0800300const char* GrGLSLFragmentShaderBuilder::getPrimaryColorOutputName() const {
egdaniel8dcdedc2015-11-11 06:27:20 -0800301 return fHasCustomColorOutput ? DeclaredColorOutputName() : "gl_FragColor";
joshualitt47bb3822014-10-07 16:43:25 -0700302}
303
ethannicholas22793252016-01-30 09:59:10 -0800304void GrGLSLFragmentBuilder::declAppendf(const char* fmt, ...) {
305 va_list argp;
306 va_start(argp, fmt);
307 inputs().appendVAList(fmt, argp);
308 va_end(argp);
309}
310
egdaniel2d721d32015-11-11 13:06:05 -0800311const char* GrGLSLFragmentShaderBuilder::getSecondaryColorOutputName() const {
egdaniel8dcdedc2015-11-11 06:27:20 -0800312 const GrGLSLCaps& caps = *fProgramBuilder->glslCaps();
313 return caps.mustDeclareFragmentShaderOutput() ? DeclaredSecondaryColorOutputName()
kkinnunend94708e2015-07-30 22:47:04 -0700314 : "gl_SecondaryFragColorEXT";
joshualitt47bb3822014-10-07 16:43:25 -0700315}
316
egdaniel2d721d32015-11-11 13:06:05 -0800317void GrGLSLFragmentShaderBuilder::onFinalize() {
egdaniel0eafe792015-11-20 14:01:22 -0800318 fProgramBuilder->varyingHandler()->getFragDecls(&this->inputs(), &this->outputs());
egdanielcb7ba1e2015-10-26 08:38:25 -0700319 GrGLSLAppendDefaultFloatPrecisionDeclaration(kDefault_GrSLPrecision,
320 *fProgramBuilder->glslCaps(),
321 &this->precisionQualifier());
joshualitt30ba4362014-08-21 20:18:45 -0700322}
323
cdalton85285412016-02-18 12:37:07 -0800324void GrGLSLFragmentShaderBuilder::onBeforeChildProcEmitCode() {
wangyix54a6b1a2015-09-08 08:41:51 -0700325 SkASSERT(fSubstageIndices.count() >= 1);
wangyix7ef45a12015-08-13 06:51:35 -0700326 fSubstageIndices.push_back(0);
wangyix54a6b1a2015-09-08 08:41:51 -0700327 // second-to-last value in the fSubstageIndices stack is the index of the child proc
328 // at that level which is currently emitting code.
329 fMangleString.appendf("_c%d", fSubstageIndices[fSubstageIndices.count() - 2]);
wangyix7ef45a12015-08-13 06:51:35 -0700330}
331
cdalton85285412016-02-18 12:37:07 -0800332void GrGLSLFragmentShaderBuilder::onAfterChildProcEmitCode() {
wangyix54a6b1a2015-09-08 08:41:51 -0700333 SkASSERT(fSubstageIndices.count() >= 2);
wangyix7ef45a12015-08-13 06:51:35 -0700334 fSubstageIndices.pop_back();
wangyix54a6b1a2015-09-08 08:41:51 -0700335 fSubstageIndices.back()++;
wangyix7ef45a12015-08-13 06:51:35 -0700336 int removeAt = fMangleString.findLastOf('_');
337 fMangleString.remove(removeAt, fMangleString.size() - removeAt);
338}
egdaniel8dcdedc2015-11-11 06:27:20 -0800339