diff options
author | Marek Olšák <[email protected]> | 2019-11-01 23:55:58 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-19 18:02:06 -0500 |
commit | db0c89d4bffa01ab15dfa819dbb518739131e1a9 (patch) | |
tree | 7908350fbcce56ef4030fc6a1e677cf315bd868d /src/intel | |
parent | 610fb0e19cb5eb83677b485bb931e3f71e976f4d (diff) |
st/mesa: keep serialized NIR instead of nir_shader in st_program
This decreases memory usage, because serialized NIR is more compact.
If shader_has_one_variant is true and the shader is uncached, the first
variant is created from nir_shader, otherwise the first variant and
all other variants are created from serialized NIR.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions