• Home
  • Raw
  • Download

Lines Matching refs:result

295         ShaderCapsPointer result = MakeShaderCaps();  in Default()  local
296 result->fVersionDeclString = "#version 400"; in Default()
297 result->fShaderDerivativeSupport = true; in Default()
298 result->fBuiltinDeterminantSupport = true; in Default()
299 result->fCanUseDoLoops = true; in Default()
300 return result; in Default()
308 ShaderCapsPointer result = MakeShaderCaps(); in AddAndTrueToLoopCondition() local
309 result->fVersionDeclString = "#version 400"; in AddAndTrueToLoopCondition()
310 result->fAddAndTrueToLoopCondition = true; in AddAndTrueToLoopCondition()
311 return result; in AddAndTrueToLoopCondition()
315 ShaderCapsPointer result = MakeShaderCaps(); in CannotUseFractForNegativeValues() local
316 result->fVersionDeclString = "#version 400"; in CannotUseFractForNegativeValues()
317 result->fCanUseFractForNegativeValues = false; in CannotUseFractForNegativeValues()
318 return result; in CannotUseFractForNegativeValues()
322 ShaderCapsPointer result = MakeShaderCaps(); in CannotUseFragCoord() local
323 result->fVersionDeclString = "#version 400"; in CannotUseFragCoord()
324 result->fCanUseFragCoord = false; in CannotUseFragCoord()
325 return result; in CannotUseFragCoord()
329 ShaderCapsPointer result = MakeShaderCaps(); in CannotUseMinAndAbsTogether() local
330 result->fVersionDeclString = "#version 400"; in CannotUseMinAndAbsTogether()
331 result->fCanUseMinAndAbsTogether = false; in CannotUseMinAndAbsTogether()
332 return result; in CannotUseMinAndAbsTogether()
336 ShaderCapsPointer result = MakeShaderCaps(); in EmulateAbsIntFunction() local
337 result->fVersionDeclString = "#version 400"; in EmulateAbsIntFunction()
338 result->fEmulateAbsIntFunction = true; in EmulateAbsIntFunction()
339 return result; in EmulateAbsIntFunction()
343 ShaderCapsPointer result = MakeShaderCaps(); in FramebufferFetchSupport() local
344 result->fFBFetchSupport = true; in FramebufferFetchSupport()
345 result->fFBFetchColorName = "gl_LastFragData[0]"; in FramebufferFetchSupport()
346 return result; in FramebufferFetchSupport()
350 ShaderCapsPointer result = MakeShaderCaps(); in IncompleteShortIntPrecision() local
351 result->fVersionDeclString = "#version 310es"; in IncompleteShortIntPrecision()
352 result->fUsesPrecisionModifiers = true; in IncompleteShortIntPrecision()
353 result->fIncompleteShortIntPrecision = true; in IncompleteShortIntPrecision()
354 return result; in IncompleteShortIntPrecision()
358 ShaderCapsPointer result = MakeShaderCaps(); in MustForceNegatedAtanParamToFloat() local
359 result->fVersionDeclString = "#version 400"; in MustForceNegatedAtanParamToFloat()
360 result->fMustForceNegatedAtanParamToFloat = true; in MustForceNegatedAtanParamToFloat()
361 return result; in MustForceNegatedAtanParamToFloat()
365 ShaderCapsPointer result = MakeShaderCaps(); in MustForceNegatedLdexpParamToMultiply() local
366 result->fVersionDeclString = "#version 400"; in MustForceNegatedLdexpParamToMultiply()
367 result->fMustForceNegatedLdexpParamToMultiply = true; in MustForceNegatedLdexpParamToMultiply()
368 return result; in MustForceNegatedLdexpParamToMultiply()
372 ShaderCapsPointer result = MakeShaderCaps(); in MustGuardDivisionEvenAfterExplicitZeroCheck() local
373 result->fMustGuardDivisionEvenAfterExplicitZeroCheck = true; in MustGuardDivisionEvenAfterExplicitZeroCheck()
374 return result; in MustGuardDivisionEvenAfterExplicitZeroCheck()
378 ShaderCapsPointer result = MakeShaderCaps(); in RemovePowWithConstantExponent() local
379 result->fVersionDeclString = "#version 400"; in RemovePowWithConstantExponent()
380 result->fRemovePowWithConstantExponent = true; in RemovePowWithConstantExponent()
381 return result; in RemovePowWithConstantExponent()
385 ShaderCapsPointer result = MakeShaderCaps(); in RewriteDoWhileLoops() local
386 result->fVersionDeclString = "#version 400"; in RewriteDoWhileLoops()
387 result->fRewriteDoWhileLoops = true; in RewriteDoWhileLoops()
388 return result; in RewriteDoWhileLoops()
392 ShaderCapsPointer result = MakeShaderCaps(); in RewriteMatrixComparisons() local
393 result->fRewriteMatrixComparisons = true; in RewriteMatrixComparisons()
394 result->fUsesPrecisionModifiers = true; in RewriteMatrixComparisons()
395 return result; in RewriteMatrixComparisons()
399 ShaderCapsPointer result = MakeShaderCaps(); in RewriteMatrixVectorMultiply() local
400 result->fVersionDeclString = "#version 400"; in RewriteMatrixVectorMultiply()
401 result->fRewriteMatrixVectorMultiply = true; in RewriteMatrixVectorMultiply()
402 return result; in RewriteMatrixVectorMultiply()
406 ShaderCapsPointer result = MakeShaderCaps(); in RewriteSwitchStatements() local
407 result->fVersionDeclString = "#version 400"; in RewriteSwitchStatements()
408 result->fRewriteSwitchStatements = true; in RewriteSwitchStatements()
409 return result; in RewriteSwitchStatements()
413 ShaderCapsPointer result = Default(); in SampleMaskSupport() local
414 result->fSampleMaskSupport = true; in SampleMaskSupport()
415 return result; in SampleMaskSupport()
419 ShaderCapsPointer result = MakeShaderCaps(); in ShaderDerivativeExtensionString() local
420 result->fVersionDeclString = "#version 400"; in ShaderDerivativeExtensionString()
421 result->fShaderDerivativeSupport = true; in ShaderDerivativeExtensionString()
422 result->fShaderDerivativeExtensionString = "GL_OES_standard_derivatives"; in ShaderDerivativeExtensionString()
423 result->fUsesPrecisionModifiers = true; in ShaderDerivativeExtensionString()
424 return result; in ShaderDerivativeExtensionString()
428 ShaderCapsPointer result = MakeShaderCaps(); in UnfoldShortCircuitAsTernary() local
429 result->fVersionDeclString = "#version 400"; in UnfoldShortCircuitAsTernary()
430 result->fUnfoldShortCircuitAsTernary = true; in UnfoldShortCircuitAsTernary()
431 return result; in UnfoldShortCircuitAsTernary()
435 ShaderCapsPointer result = MakeShaderCaps(); in UsesPrecisionModifiers() local
436 result->fVersionDeclString = "#version 400"; in UsesPrecisionModifiers()
437 result->fUsesPrecisionModifiers = true; in UsesPrecisionModifiers()
438 return result; in UsesPrecisionModifiers()
442 ShaderCapsPointer result = MakeShaderCaps(); in Version110() local
443 result->fVersionDeclString = "#version 110"; in Version110()
444 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
445 return result; in Version110()
449 ShaderCapsPointer result = MakeShaderCaps(); in Version450Core() local
450 result->fVersionDeclString = "#version 450 core"; in Version450Core()
451 return result; in Version450Core()