commit | 9c3f14327a38e79ab7d0cf30dfd9bf89676fde06 | [log] [tgz] |
---|---|---|
author | cdalton <cdalton@nvidia.com> | Fri Mar 11 10:07:37 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 11 10:07:37 2016 -0800 |
tree | f4695cc85cf19bf471ed8c956083f2234f18d4e1 | |
parent | 6b563156eb7ce05b51997695ec9ab2aedcc2e6b1 [diff] [blame] |
Add support for vertex and geometry shader textures Adds a visibility bitfield to GrTextureAccess that controls in which shaders the texture should be accessible. Also adds caps and validation to ensure we don't exceed texture limits. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1782583002 Review URL: https://codereview.chromium.org/1782583002
diff --git a/src/gpu/vk/GrVkProgramBuilder.h b/src/gpu/vk/GrVkProgramBuilder.h index 1d7bac6..83a7adf 100644 --- a/src/gpu/vk/GrVkProgramBuilder.h +++ b/src/gpu/vk/GrVkProgramBuilder.h
@@ -45,9 +45,6 @@ private: GrVkProgramBuilder(GrVkGpu*, const DrawArgs&); - void emitSamplers(const GrProcessor&, - GrGLSLTextureSampler::TextureSamplerArray* outSamplers) override; - GrVkProgram* finalize(const DrawArgs& args, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass); @@ -71,4 +68,4 @@ typedef GrGLSLProgramBuilder INHERITED; }; -#endif \ No newline at end of file +#endif