Skip to content

r300: fixes for UB caused by left shifts

Filip Gawin requested to merge gawin/mesa:r300/ub_shifts into main

r300_vs.c:252:37: runtime error: left shift of negative value -1

r300_state.c:1824:66: runtime error: left shift of 63112 by 16 places cannot be represented in type 'int'

Follow up of !13158 (merged)

Edited by Filip Gawin

Merge request reports