diff options
author | Jason Ekstrand <[email protected]> | 2018-08-13 14:57:22 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-08-29 14:04:02 -0500 |
commit | 152fdeddbb7fa43649b864cfd1b98f40e9a355bb (patch) | |
tree | dd8a0fb7783f67fdf99e24ddd0806d46b2af7cbc /src/intel/blorp | |
parent | 7c5df52bdc5e673ed818c1a90ba7a28031f6b159 (diff) |
nir/format_convert: Rename nir_format_bitcast_uint_vec
We have a name for that, it's called a uvec. This just makes the
function name a bit shorter. While we're here, we also add an assert
for one of the assumptions this function makes.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r-- | src/intel/blorp/blorp_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 7cc580abd06..60cb32641d6 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -939,7 +939,7 @@ bit_cast_color(struct nir_builder *b, nir_ssa_def *color, isl_format_get_num_channels(key->src_format); color = nir_channels(b, color, (1 << src_channels) - 1); - color = nir_format_bitcast_uint_vec_unmasked(b, color, src_bpc, dst_bpc); + color = nir_format_bitcast_uvec_unmasked(b, color, src_bpc, dst_bpc); } /* Blorp likes to assume that colors are vec4s */ |