mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
nvc0: remove nvc0_program.tp.input_patch_size
right now that's dead code Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
14291342ec
commit
a110a8090d
3 changed files with 0 additions and 6 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue