Module: Mesa Branch: main Commit: f0e603583ef8f71c82a22b5c3e66298b993fcb6f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0e603583ef8f71c82a22b5c3e66298b993fcb6f
Author: Iago Toral Quiroga <[email protected]> Date: Mon Jul 31 10:32:43 2023 +0200 broadcom/compiler: drop execution environment from the shader key We are no longer using this for anything. Reviewed-by: Alejandro PiƱeiro <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24396> --- src/broadcom/compiler/v3d_compiler.h | 7 ------- src/broadcom/vulkan/v3dv_pipeline.c | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h index eb4e692464b..ee114f4d984 100644 --- a/src/broadcom/compiler/v3d_compiler.h +++ b/src/broadcom/compiler/v3d_compiler.h @@ -392,11 +392,6 @@ static inline uint8_t v3d_slot_get_component(struct v3d_varying_slot slot) return slot.slot_and_component & 3; } -enum v3d_execution_environment { - V3D_ENVIRONMENT_OPENGL = 0, - V3D_ENVIRONMENT_VULKAN, -}; - struct v3d_key { void *shader_state; struct { @@ -414,8 +409,6 @@ struct v3d_key { bool robust_uniform_access; bool robust_storage_access; bool robust_image_access; - - enum v3d_execution_environment environment; }; struct v3d_fs_key { diff --git a/src/broadcom/vulkan/v3dv_pipeline.c b/src/broadcom/vulkan/v3dv_pipeline.c index 1250ddc580f..71fcc3c6a18 100644 --- a/src/broadcom/vulkan/v3dv_pipeline.c +++ b/src/broadcom/vulkan/v3dv_pipeline.c @@ -1060,8 +1060,6 @@ pipeline_populate_v3d_key(struct v3d_key *key, p_stage->robustness.storage_buffers == robust_buffer_enabled; key->robust_image_access = p_stage->robustness.images == robust_image_enabled; - - key->environment = V3D_ENVIRONMENT_VULKAN; } /* FIXME: anv maps to hw primitive type. Perhaps eventually we would do the
