summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
diff options
context:
space:
mode:
authorKarol Herbst <kherbst@redhat.com>2019-07-04 16:02:09 +0200
committerMarge Bot <eric+marge@anholt.net>2020-08-25 18:56:37 +0000
commitf2924994bd3e0389446c2ca6bc23d4712a7742de (patch)
tree68e0ec3f462cf5c35aa9c4525e73da63d97984ac /src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
parentfa8e62824075d8481d1e63ff057be7cd966c4149 (diff)
nv50/ir: add nv50_ir_prog_info_out
Split out the output relevant fields from the nv50_ir_prog_info struct in order to have a cleaner separation between the input and output of the compilation. Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4264>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
index 1bcfb054ffa..52106cb931f 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
@@ -2822,7 +2822,7 @@ NVC0LoweringPass::readTessCoord(LValue *dst, int c)
y = dst;
} else {
assert(c == 2);
- if (prog->driver->prop.tp.domain != PIPE_PRIM_TRIANGLES) {
+ if (prog->driver_out->prop.tp.domain != PIPE_PRIM_TRIANGLES) {
bld.mkMov(dst, bld.loadImm(NULL, 0));
return;
}
@@ -2931,7 +2931,7 @@ NVC0LoweringPass::handleRDSV(Instruction *i)
ld->subOp = NV50_IR_SUBOP_PIXLD_SAMPLEID;
Value *offset = calculateSampleOffset(sampleID);
- assert(prog->driver->prop.fp.readsSampleLocations);
+ assert(prog->driver_out->prop.fp.readsSampleLocations);
if (targ->getChipset() >= NVISA_GM200_CHIPSET) {
bld.mkLoad(TYPE_F32,
@@ -3166,7 +3166,7 @@ NVC0LoweringPass::handlePIXLD(Instruction *i)
if (targ->getChipset() < NVISA_GM200_CHIPSET)
return;
- assert(prog->driver->prop.fp.readsSampleLocations);
+ assert(prog->driver_out->prop.fp.readsSampleLocations);
bld.mkLoad(TYPE_F32,
i->getDef(0),