aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrSimpleTextureEffect.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-04-06 10:37:55 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-06 18:27:53 +0000
commit3e8c3458f036da88eca1225a5c6a2cce228f894e (patch)
treeb910cd1a3a25994bbf7b52effde770fae7a2fb2f /src/gpu/effects/GrSimpleTextureEffect.cpp
parent4961a938586e3c46cf80f15ecb70a011324bfe59 (diff)
Make generated effects from sksl fp files not need SK_SUPPORT_GPU
Bug: skia: Change-Id: I42a5c7fe7dc35a23290c8daa754c9fcce07f76fb Reviewed-on: https://skia-review.googlesource.com/119010 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.cpp')
-rw-r--r--src/gpu/effects/GrSimpleTextureEffect.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp
index 9e6e9cf991..5e3e6979ca 100644
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp
@@ -9,7 +9,6 @@
*** This file was autogenerated from GrSimpleTextureEffect.fp; do not modify.
**************************************************************************************************/
#include "GrSimpleTextureEffect.h"
-#if SK_SUPPORT_GPU
#include "glsl/GrGLSLFragmentProcessor.h"
#include "glsl/GrGLSLFragmentShaderBuilder.h"
#include "glsl/GrGLSLProgramBuilder.h"
@@ -84,4 +83,3 @@ std::unique_ptr<GrFragmentProcessor> GrSimpleTextureEffect::TestCreate(
return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params);
}
#endif
-#endif