skia2/include/gpu
Greg Daniel 10ed243e2e Add cap on intel to avoid calling abs and floor on the same line in a
shader.

This fixes a bug on some intel devices where we are failing
in the ProcessorOptimizationTest.

I've tried other "no op" type things between the floor call and abs which
also fixed the issue, as well as adding explicit checks to see if we are
less than -1 or greater than 1 where the clamp is. Thus the clamp itself
should be a no op and shouldn't secretly be fixing the problem outside
of forcing the floor and abs lines to be separate.

Bug: skia:
Change-Id: I85bf82e0e02607b78470b7a5f8f918e9f53f0154
Reviewed-on: https://skia-review.googlesource.com/76820
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2017-12-02 00:00:59 +00:00
..
gl API to cache shader binaries between runs of Skia. 2017-11-02 13:07:41 +00:00
mock Revert "Revert "Revert "Revert "Revert "Revert "Add private grpixelconfigs for alpha_8 and alpha_half"""""" 2017-11-18 13:36:27 +00:00
mtl Add placeholder GrMtlTypes in include/gpu/mtl 2017-07-28 17:11:51 +00:00
vk Use vulkan prototypes for android framework build 2017-11-10 18:31:47 +00:00
GrBackendSemaphore.h Revert "Add support for semaphores to be inserted on GrContext flush" 2017-07-22 17:34:00 +00:00
GrBackendSurface.h Add backend GPU objects to fiddle app 2017-11-17 12:53:55 +00:00
GrBlend.h constexprify GrBlend.h and GrPorterDuffXferProcessor.cpp 2017-04-10 16:27:36 +00:00
GrCaps.h Revert "Revert "Use a dst size threshold for multitexturing images."" 2017-12-01 16:23:59 +00:00
GrColor.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
GrConfig.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrContext.h Add a GrContextThreadSafeProxy to SkSurfaceCharacterization 2017-11-30 14:16:32 +00:00
GrContextOptions.h Add GrContextOptions to control distance field thresholds for small sizes and fallback to paths. 2017-11-08 01:34:06 +00:00
GrGpuResource.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrRenderTarget.h Reduce stencil buffer clearing 2017-08-30 21:17:36 +00:00
GrResourceKey.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
GrSamplerState.h Rework GrSamplerParams to be more compact and use its own wrap mode enum. 2017-09-07 16:58:31 +00:00
GrShaderCaps.h Add cap on intel to avoid calling abs and floor on the same line in a 2017-12-02 00:00:59 +00:00
GrSurface.h Add hint to SkSurface::MakeRenderTarget that we will use mips 2017-10-23 20:25:59 +00:00
GrTexture.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrTypes.h Cleanup yes/no enums in Ganesh 2017-11-27 22:40:27 +00:00