v3d: Stop tracking num_inputs for VPM loads.

It's unused in the VS (since we need vattr_sizes[] anyway), so move it to
FS prog data.
This commit is contained in:
Eric Anholt
2019-02-14 21:01:05 -08:00
parent 581eba072d
commit 5a84d46896
6 changed files with 4 additions and 9 deletions

View File

@@ -675,7 +675,6 @@ struct v3d_prog_data {
uint32_t ubo_size;
uint32_t spill_size;
uint8_t num_inputs;
uint8_t threads;
/* For threads > 1, whether the program should be dispatched in the
@@ -723,6 +722,7 @@ struct v3d_fs_prog_data {
uint32_t centroid_flags[((V3D_MAX_FS_INPUTS - 1) / 24) + 1];
uint8_t num_inputs;
bool writes_z;
bool disable_ez;
bool uses_center_w;