zink: bitcast extracted streamout components to uint before creating uvec
spirv can't create a uvec from float components, so pre-cast here Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17404>
This commit is contained in:
parent
c189b7f585
commit
924145c7b5
|
@ -1651,6 +1651,7 @@ emit_so_outputs(struct ntv_context *ctx,
|
|||
v = 1;
|
||||
components[idx++] = spirv_builder_emit_composite_extract(&ctx->builder, get_uvec_type(ctx, 32, 1), val, &v, 1);
|
||||
} else {
|
||||
components[idx] = emit_bitcast(ctx, spirv_builder_type_uint(&ctx->builder, 32), components[idx]);
|
||||
idx++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue