nir: rename nir_const_value fields to include bitsize information
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:

committed by
Samuel Iglesias Gonsálvez

parent
9076c4e289
commit
084b24f558
@@ -228,7 +228,7 @@ dead_cf_block(nir_block *block)
|
||||
if (!const_value)
|
||||
return false;
|
||||
|
||||
opt_constant_if(following_if, const_value->u[0] != 0);
|
||||
opt_constant_if(following_if, const_value->u32[0] != 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user