aco: adjust an assertion about the wavesize in emit_gfx10_wave64_bpermute()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Oct 2020 11:54:18 +0000 (13:54 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Oct 2020 15:09:34 +0000 (15:09 +0000)
This gets rids of one more use of radv_shader_info.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7061>

src/amd/compiler/aco_lower_to_hw_instr.cpp

index 21325fe..d20a239 100644 (file)
@@ -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];