Skip to content

radeonsi: fix divide by zero in si_get_small_prim_cull_info()

Timothy Arceri requested to merge tarceri/mesa:radeonsi_divide_by_zero into main

radeonsi: fix divide by zero in si_get_small_prim_cull_info()

This fixes a crash on startup with the game "Ty the Tasmanian Tiger 3"

Fixes: f8a0aa68 ("radeonsi: fix view culling for wide lines")

I'm not familiar with this code so I'm sure if this is the correct fix, so please advise.

@mareko

Merge request reports