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.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Jordan Justen 2018-03-13 10:47:19 -07:00
parent 6d830940f7
commit fc4a7aaa82
1 changed files with 0 additions and 8 deletions

View File

@ -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;