diff options
author | Timothy Arceri <[email protected]> | 2017-11-27 16:25:11 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-28 09:01:44 +1100 |
commit | 3e789026cae21e56d07e21773bd6b34f32e31b4d (patch) | |
tree | f14929958d6288ef254d5123820b9ec89eaf99cb /src/mesa/state_tracker/st_program.h | |
parent | 4cb27047c8576ccfffa83be04a8b93e5aaa7f4ec (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/state_tracker/st_program.h')
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index 6049fba517b..0e6c8e00c6e 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -150,9 +150,6 @@ struct st_fragment_program struct gl_shader_program *shader_program; struct st_fp_variant *variants; - - /** SHA1 hash of linked tgsi shader program, used for on-disk cache */ - unsigned char sha1[20]; }; |