From: Karol Herbst Date: Mon, 15 Jun 2020 00:52:47 +0000 (+0200) Subject: nv50/ir/nir: fix nv_viewport_array2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e476629853bda7b826a44842ca56b215803d3bb0;p=mesa.git nv50/ir/nir: fix nv_viewport_array2 Signed-off-by: Karol Herbst Tested-by: Ben Skeggs Part-of: --- 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 84833a0ade9..40c1c526224 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp @@ -1256,6 +1256,7 @@ Converter::parseNIR() info->bin.tlsSpace = 0; info->io.clipDistances = nir->info.clip_distance_array_size; info->io.cullDistances = nir->info.cull_distance_array_size; + info->io.layer_viewport_relative = nir->info.layer_viewport_relative; switch(prog->getType()) { case Program::TYPE_COMPUTE: