From 79725115c60c50f91b819a0fe946f6a993dc2252 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 23 Mar 2023 09:31:56 -0700 Subject: [PATCH] d3d12: Remove now-unused UAV format from shader info Part-of: --- src/gallium/drivers/d3d12/d3d12_compiler.cpp | 1 - src/gallium/drivers/d3d12/d3d12_compiler.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gallium/drivers/d3d12/d3d12_compiler.cpp b/src/gallium/drivers/d3d12/d3d12_compiler.cpp index bf55d11..2880d67 100644 --- a/src/gallium/drivers/d3d12/d3d12_compiler.cpp +++ b/src/gallium/drivers/d3d12/d3d12_compiler.cpp @@ -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)); } } diff --git a/src/gallium/drivers/d3d12/d3d12_compiler.h b/src/gallium/drivers/d3d12/d3d12_compiler.h index 7b51ef7..1f55f44 100644 --- a/src/gallium/drivers/d3d12/d3d12_compiler.h +++ b/src/gallium/drivers/d3d12/d3d12_compiler.h @@ -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]; -- 2.7.4