Module: Mesa Branch: master Commit: fc4a7aaa8297370ba505b306b91a71a3b8545d18 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc4a7aaa8297370ba505b306b91a71a3b8545d18
Author: Jordan Justen <jordan.l.jus...@intel.com> Date: Tue Mar 13 10:47:19 2018 -0700 i965: Allow disk shader cache usage with transform feedback Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105444 Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com> --- src/mesa/drivers/dri/i965/brw_disk_cache.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_disk_cache.c b/src/mesa/drivers/dri/i965/brw_disk_cache.c index 0671dd20f8..c77e921b6a 100644 --- a/src/mesa/drivers/dri/i965/brw_disk_cache.c +++ b/src/mesa/drivers/dri/i965/brw_disk_cache.c @@ -280,14 +280,6 @@ brw_disk_cache_upload_program(struct brw_context *brw, gl_shader_stage stage) if (prog == NULL) return false; - /* FIXME: For now we don't read from the cache if transform feedback is - * enabled via the API. However the shader cache does support transform - * feedback when enabled via in shader xfb qualifiers. - */ - if (prog->sh.LinkedTransformFeedback && - prog->sh.LinkedTransformFeedback->api_enabled) - return false; - if (brw->ctx._Shader->Flags & GLSL_CACHE_FALLBACK) goto fail; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit