summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-03-13 10:47:19 -0700
committerJordan Justen <[email protected]>2018-03-19 09:57:09 -0700
commitfc4a7aaa8297370ba505b306b91a71a3b8545d18 (patch)
tree211ae53914d450a26142c325acd832418b2840f1
parent6d830940f78109db44293d41e74d9ec0a47da49b (diff)
i965: Allow disk shader cache usage with transform feedback
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105444 Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_disk_cache.c8
1 files changed, 0 insertions, 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 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;