diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-03-15 13:09:30 -0700 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-03-19 18:00:49 +0000 |
commit | f6338c3b856711d6a399b7f6dccbf3a7062b4586 (patch) | |
tree | a90d8b47fa1c745eb3c9b9f86ff916fb6f84203f /src/amd/vulkan | |
parent | 318073ce660ca72b47ba83e37d1d0bc756f779b7 (diff) |
anv/pipeline: set active_stages early
Since the intermediate states of active_stages are not used,
i.e. active_stages is read only after all stages were set into it,
just set its value before compiling the shaders.
This will allow to conditionally run certain passes based on what
other shaders are being used, e.g. a certain pass might only be
applicable to the vertex shader if there's no geometry or tessellation
shader being used.
v2: Use vk_to_mesa_shader_stage. (Lionel)
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
0 files changed, 0 insertions, 0 deletions