broadcom/compiler: drop execution environment from the shader key

We are no longer using this for anything.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24396>
This commit is contained in:
Iago Toral Quiroga
2023-07-31 10:32:43 +02:00
committed by Marge Bot
parent b95bb44c61
commit f0e603583e
2 changed files with 0 additions and 9 deletions

View File

@@ -392,11 +392,6 @@ static inline uint8_t v3d_slot_get_component(struct v3d_varying_slot slot)
return slot.slot_and_component & 3; return slot.slot_and_component & 3;
} }
enum v3d_execution_environment {
V3D_ENVIRONMENT_OPENGL = 0,
V3D_ENVIRONMENT_VULKAN,
};
struct v3d_key { struct v3d_key {
void *shader_state; void *shader_state;
struct { struct {
@@ -414,8 +409,6 @@ struct v3d_key {
bool robust_uniform_access; bool robust_uniform_access;
bool robust_storage_access; bool robust_storage_access;
bool robust_image_access; bool robust_image_access;
enum v3d_execution_environment environment;
}; };
struct v3d_fs_key { struct v3d_fs_key {

View File

@@ -1060,8 +1060,6 @@ pipeline_populate_v3d_key(struct v3d_key *key,
p_stage->robustness.storage_buffers == robust_buffer_enabled; p_stage->robustness.storage_buffers == robust_buffer_enabled;
key->robust_image_access = key->robust_image_access =
p_stage->robustness.images == robust_image_enabled; 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 /* FIXME: anv maps to hw primitive type. Perhaps eventually we would do the