diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/common/t_dd_vbtmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/t_dd_vbtmp.h b/src/mesa/drivers/common/t_dd_vbtmp.h index a13c6dc680d..2e9a7ec9bcc 100644 --- a/src/mesa/drivers/common/t_dd_vbtmp.h +++ b/src/mesa/drivers/common/t_dd_vbtmp.h @@ -805,6 +805,9 @@ static void TAG(init)( void ) setup_tab[IND].vertex_size = 8; setup_tab[IND].vertex_stride_shift = 5; } + + assert(setup_tab[IND].vertex_size * 4 <= + 1 << setup_tab[IND].vertex_stride_shift); } |