[Mesa-dev] [PATCH 2/6] i965: Allow disk shader cache usage with transform feedback
Jordan Justen
jordan.l.justen at intel.com
Wed Mar 14 07:26:11 UTC 2018
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105444
Signed-off-by: Jordan Justen <jordan.l.justen at intel.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 41f742e858f..3d3651f4285 100644
--- a/src/mesa/drivers/dri/i965/brw_disk_cache.c
+++ b/src/mesa/drivers/dri/i965/brw_disk_cache.c
@@ -254,14 +254,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;
--
2.16.1
More information about the mesa-dev
mailing list