summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-11-27 16:25:11 +1100
committerTimothy Arceri <[email protected]>2017-11-28 09:01:44 +1100
commit3e789026cae21e56d07e21773bd6b34f32e31b4d (patch)
treef14929958d6288ef254d5123820b9ec89eaf99cb /src/mesa/main
parent4cb27047c8576ccfffa83be04a8b93e5aaa7f4ec (diff)
st/glsl_to_tgsi: make use of driver_cache_blob with the disk cache
driver_cache_blob was introduced with the i965 disk cache, it allows us to simplify the cache a little and possibly offers some minor speed improvements since we load the GLSL metadata and TGSI from disk in one pass. Using driver_cache_blob should also make it straight forward to implement binary support for ARB_get_program_binary in gallium. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 9d704c1c158..96775824ea6 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2887,13 +2887,6 @@ struct gl_shader_program_data
unsigned NumUniformDataSlots;
union gl_constant_value *UniformDataSlots;
- /* TODO: This used by Gallium drivers to skip the cache on tgsi fallback.
- * All structures (gl_program, uniform storage, etc) will get recreated
- * even though we have already loaded them from cache. We should instead
- * switch to storing the GLSL metadata and TGSI IR in a single cache item
- * like the i965 driver does with NIR.
- */
- bool skip_cache;
GLboolean Validated;
/** List of all active resources after linking. */