diff options
author | Jason Ekstrand <[email protected]> | 2015-12-02 16:08:13 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-03 13:43:54 -0800 |
commit | a5f19f64c3317c98b984010f144416ce768a3c0b (patch) | |
tree | 9c9c4252a777420e52c6c72f01b77a1e6e3c6616 /src/vulkan/anv_nir.h | |
parent | e10dc002e9544500a2247e49a132e18f994f34ee (diff) |
vk/0.210.0: Remove the VkShaderStage enum
This made for an unfortunately large amount of work since we were using it
fairly heavily internally. However, gl_shader_stage does basically the
same things, so it's not too bad.
Diffstat (limited to 'src/vulkan/anv_nir.h')
-rw-r--r-- | src/vulkan/anv_nir.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vulkan/anv_nir.h b/src/vulkan/anv_nir.h index b164ae581e1..666b127451a 100644 --- a/src/vulkan/anv_nir.h +++ b/src/vulkan/anv_nir.h @@ -30,13 +30,6 @@ extern "C" { #endif -static inline VkShaderStage -anv_vk_shader_stage_for_mesa_stage(gl_shader_stage stage) -{ - /* The two enums happen to line up. */ - return (VkShaderStage)(int)stage; -} - void anv_nir_lower_push_constants(nir_shader *shader, bool is_scalar); void anv_nir_apply_dynamic_offsets(struct anv_pipeline *pipeline, |