mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
pco: enable all expected types for vertex i/o
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
24de22d0de
commit
7370254d5a
1 changed files with 4 additions and 2 deletions
|
|
@ -190,7 +190,8 @@ trans_load_input_vs(trans_ctx *tctx, nir_intrinsic_instr *intr, pco_ref dest)
|
|||
assert(!base);
|
||||
|
||||
ASSERTED nir_alu_type type = nir_intrinsic_dest_type(intr);
|
||||
assert(type == nir_type_float32);
|
||||
assert(type == nir_type_float32 || type == nir_type_uint32 ||
|
||||
type == nir_type_int32);
|
||||
/* TODO: f16 support. */
|
||||
|
||||
ASSERTED const nir_src offset = intr->src[0];
|
||||
|
|
@ -223,7 +224,8 @@ trans_store_output_vs(trans_ctx *tctx, nir_intrinsic_instr *intr, pco_ref src)
|
|||
assert(!base);
|
||||
|
||||
ASSERTED nir_alu_type type = nir_intrinsic_src_type(intr);
|
||||
assert(type == nir_type_float32);
|
||||
assert(type == nir_type_float32 || type == nir_type_uint32 ||
|
||||
type == nir_type_int32);
|
||||
/* TODO: f16 support. */
|
||||
|
||||
ASSERTED const nir_src offset = intr->src[1];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue