mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 09:10:12 +01:00
d3d12: Remove now-unused UAV format from shader info
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22093>
This commit is contained in:
parent
4f56f2188c
commit
79725115c6
2 changed files with 0 additions and 2 deletions
|
|
@ -197,7 +197,6 @@ compile_nir(struct d3d12_context *ctx, struct d3d12_shader_selector *sel,
|
|||
auto type_no_array = glsl_without_array(var->type);
|
||||
unsigned count = glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1;
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
shader->uav_bindings[var->data.driver_location + i].format = var->data.image.format;
|
||||
shader->uav_bindings[var->data.driver_location + i].dimension = resource_dimension(glsl_get_sampler_dim(type_no_array));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -225,7 +225,6 @@ struct d3d12_shader {
|
|||
size_t end_srv_binding;
|
||||
|
||||
struct {
|
||||
enum pipe_format format;
|
||||
uint32_t dimension;
|
||||
} uav_bindings[PIPE_MAX_SHADER_IMAGES];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue