diff options
author | Kenneth Graunke <[email protected]> | 2019-02-15 00:00:39 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-19 15:56:19 -0800 |
commit | 3b4929ec6e6456fb093483e2dc9ce008622373d6 (patch) | |
tree | 35f66fe55fb2be2d37a8207389cbd39d2d24d07f /src/mesa/program/prog_to_nir.c | |
parent | ba7519ca36ce0de74657b01fe4fa2c97aace538e (diff) |
st/mesa: Copy VP TGSI tokens if they exist, even for NIR shaders.
Even if the driver wants to use NIR shaders, we may need to have TGSI
tokens for creating draw module vertex shaders for the feedback/select
render modes.
So...if the st_vertex_program has any TGSI...copy it to the variant.
Acked-by: Eric Anholt <[email protected]>
Tested-by: Eric Anholt <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_to_nir.c')
0 files changed, 0 insertions, 0 deletions