diff options
author | Jordan Justen <[email protected]> | 2017-10-13 13:07:50 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2017-10-31 23:36:54 -0700 |
commit | 0610a624a1286cec1b9a0a19be63f46aae518377 (patch) | |
tree | 8ae26f0f7e20ff706b7b5bcf3fe323b90c5bfdac /src/mesa/drivers/dri/i965/brw_wm.c | |
parent | 6b815e405dc87d13233bf2ddbf44a3ba0b2bd3ac (diff) |
i965/link: Serialize program to nir after linking for shader cache
If the shader cache is enabled, after linking the program, we
serialize the program to nir. This will be saved out by the glsl
shader cache support.
Later, if the same program is found in the cache, we can use the nir
for a fallback in the unlikely case that the gen binary program is not
found in the cache.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.c')
0 files changed, 0 insertions, 0 deletions