Module: Mesa
Branch: master
Commit: 20d73a9049f0d3354d6bca4af32613b0466ba0f9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=20d73a9049f0d3354d6bca4af32613b0466ba0f9

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Oct  8 13:54:18 2020 +0200

aco: adjust an assertion about the wavesize in emit_gfx10_wave64_bpermute()

This gets rids of one more use of radv_shader_info.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7061>

---

 src/amd/compiler/aco_lower_to_hw_instr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp 
b/src/amd/compiler/aco_lower_to_hw_instr.cpp
index 21325fea3db..d20a239972c 100644
--- a/src/amd/compiler/aco_lower_to_hw_instr.cpp
+++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp
@@ -815,7 +815,7 @@ void emit_gfx10_wave64_bpermute(Program *program, 
aco_ptr<Instruction> &instr, B
     */
 
    assert(program->chip_class >= GFX10);
-   assert(program->info->wave_size == 64);
+   assert(program->wave_size == 64);
 
    unsigned shared_vgpr_reg_0 = align(program->config->num_vgprs, 4) + 256;
    Definition dst = instr->definitions[0];

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to