asahi: drop pointless conversion
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30382>
This commit is contained in:

committed by
Marge Bot

parent
96306a8b21
commit
21fa5faeec
@@ -29,11 +29,7 @@ load_vertex_id(nir_builder *b, unsigned index_size_B)
|
||||
*/
|
||||
if (index_size_B) {
|
||||
nir_def *ia = nir_load_input_assembly_buffer_agx(b);
|
||||
|
||||
nir_def *index =
|
||||
libagx_load_index_buffer(b, ia, id, nir_imm_int(b, index_size_B));
|
||||
|
||||
id = nir_u2uN(b, index, id->bit_size);
|
||||
id = libagx_load_index_buffer(b, ia, id, nir_imm_int(b, index_size_B));
|
||||
}
|
||||
|
||||
/* Add the "start", either an index bias or a base vertex. This must happen
|
||||
|
Reference in New Issue
Block a user