Module: Mesa
Branch: main
Commit: 2c21835963d4faaa3fe3c6defd416de4f612190a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c21835963d4faaa3fe3c6defd416de4f612190a

Author: Samuel Pitoiset <[email protected]>
Date:   Mon Sep 27 19:26:40 2021 +0200

radv: remove unused radv_nir_compiler_options fields

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13067>

---

 src/amd/vulkan/radv_shader.c | 1 -
 src/amd/vulkan/radv_shader.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index bd9aa6b2fb4..12b28e32e80 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -1544,7 +1544,6 @@ shader_variant_compile(struct radv_device *device, struct 
vk_shader_module *modu
    options->record_ir = keep_shader_info;
    options->record_stats = keep_statistic_info;
    options->check_ir = device->instance->debug_flags & RADV_DEBUG_CHECKIR;
-   options->tess_offchip_block_dw_size = device->tess_offchip_block_dw_size;
    options->address32_hi = device->physical_device->rad_info.address32_hi;
    options->has_ls_vgpr_init_bug = 
device->physical_device->rad_info.has_ls_vgpr_init_bug;
    options->enable_mrt_output_nan_fixup =
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index 69ce2925c9f..4139375d21e 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -161,7 +161,6 @@ struct radv_nir_compiler_options {
    struct radv_pipeline_layout *layout;
    struct radv_pipeline_key key;
    bool explicit_scratch_args;
-   bool clamp_shadow_reference;
    bool robust_buffer_access;
    bool adjust_frag_coord_z;
    bool dump_shader;
@@ -176,7 +175,6 @@ struct radv_nir_compiler_options {
    enum radeon_family family;
    enum chip_class chip_class;
    const struct radeon_info *info;
-   uint32_t tess_offchip_block_dw_size;
    uint32_t address32_hi;
    uint8_t force_vrs_rates;
 

Reply via email to