diff options
author | Karol Herbst <[email protected]> | 2019-07-07 21:27:47 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-07-09 12:41:54 +0200 |
commit | a110a8090d656152827a1828098624a17f6d7fb7 (patch) | |
tree | c2c7bf728205d08d069c69c21a2e167385157ec9 | |
parent | 14291342ececdd91f25a7d945a4bbb3fa336218a (diff) |
nvc0: remove nvc0_program.tp.input_patch_size
right now that's dead code
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_program.h | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h index 7c835ceab8d..95b3d633ee6 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h @@ -123,7 +123,6 @@ struct nv50_ir_prog_info bool usesDrawParameters; } vp; struct { - uint8_t inputPatchSize; uint8_t outputPatchSize; uint8_t partitioning; /* PIPE_TESS_PART */ int8_t winding; /* +1 (clockwise) / -1 (counter-clockwise) */ diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c index 1ff9f19f139..180b31ea893 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c @@ -343,8 +343,6 @@ nvc0_tcp_gen_header(struct nvc0_program *tcp, struct nv50_ir_prog_info *info) { unsigned opcs = 6; /* output patch constants (at least the TessFactors) */ - tcp->tp.input_patch_size = info->prop.tp.inputPatchSize; - if (info->numPatchConstants) opcs = 8 + info->numPatchConstants * 4; @@ -374,8 +372,6 @@ nvc0_tcp_gen_header(struct nvc0_program *tcp, struct nv50_ir_prog_info *info) static int nvc0_tep_gen_header(struct nvc0_program *tep, struct nv50_ir_prog_info *info) { - tep->tp.input_patch_size = ~0; - tep->hdr[0] = 0x20061 | (3 << 10); tep->hdr[4] = 0xff000; diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.h b/src/gallium/drivers/nouveau/nvc0/nvc0_program.h index b73822ea9f7..183b14a42c2 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_program.h +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_program.h @@ -54,7 +54,6 @@ struct nvc0_program { } fp; struct { uint32_t tess_mode; /* ~0 if defined by the other stage */ - uint32_t input_patch_size; } tp; struct { uint32_t lmem_size; /* local memory (TGSI PRIVATE resource) size */ |