From: Jordan Justen Date: Tue, 13 Mar 2018 17:47:19 +0000 (-0700) Subject: i965: Allow disk shader cache usage with transform feedback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc4a7aaa8297370ba505b306b91a71a3b8545d18;p=mesa.git i965: Allow disk shader cache usage with transform feedback Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105444 Signed-off-by: Jordan Justen Reviewed-by: Tapani Pälli Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/drivers/dri/i965/brw_disk_cache.c b/src/mesa/drivers/dri/i965/brw_disk_cache.c index 0671dd20f85..c77e921b6a7 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;