Chromium Code Reviews| Index: src/gpu/glsl/GrGLSLTextureSampler.h |
| diff --git a/src/gpu/glsl/GrGLSLTextureSampler.h b/src/gpu/glsl/GrGLSLTextureSampler.h |
| index a4fbf550f25039dad0ed20d013b6a86abe8b0551..6f8addd393b23143cc1b602adce0787c06d8ee0e 100644 |
| --- a/src/gpu/glsl/GrGLSLTextureSampler.h |
| +++ b/src/gpu/glsl/GrGLSLTextureSampler.h |
| @@ -28,7 +28,10 @@ public: |
| // this is .abcd |
| const char* swizzle() const { return fSwizzle; } |
| + GrSLType samplerType() const { return fSamplerType; } |
| + |
| private: |
| + GrSLType fSamplerType; |
|
egdaniel
2015/11/20 21:57:43
do you set fSampleType anywhere?
bsalomon
2015/11/20 22:43:55
woops, this was an old way of doing things, remove
|
| UniformHandle fSamplerUniform; |
| GrPixelConfig fConfig; |
| char fSwizzle[5]; |