summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-03-09 18:20:38 +0100
committerKarol Herbst <[email protected]>2019-12-21 11:00:17 +0000
commit4dd08b710b749d097b5c68f6edd801e6da26903a (patch)
tree227ce5e9b25a661d1efd0804b4c333a44bffea0f /src/gallium
parenta8ec4082a41830cf67a4fd405402fd2d820722fd (diff)
nv50ir/nir: support vec8 and vec16
Signed-off-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
index 984ef9ad04d..0f2b3e12d00 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
@@ -2986,7 +2986,9 @@ Converter::visit(nir_alu_instr *insn)
break;
case nir_op_vec2:
case nir_op_vec3:
- case nir_op_vec4: {
+ case nir_op_vec4:
+ case nir_op_vec8:
+ case nir_op_vec16: {
LValues &newDefs = convert(&insn->dest);
for (LValues::size_type c = 0u; c < newDefs.size(); ++c) {
mkMov(newDefs[c], getSrc(&insn->src[c]), dType);