v3d: Add support for register-allocating a ldunif to a QFILE_TEMP.

On V3D 4.x, we can use ldunifrf to load uniforms to any register, and this
will let us schedule the ldunif wherever we want in the program.
This commit is contained in:
Eric Anholt
2019-02-26 09:19:40 -08:00
parent 70df388219
commit 4036fce8fd
2 changed files with 77 additions and 14 deletions

View File

@@ -476,6 +476,8 @@ vir_after_block(struct qblock *block)
struct v3d_compiler {
const struct v3d_device_info *devinfo;
struct ra_regs *regs;
unsigned int reg_class_any[3];
unsigned int reg_class_r5[3];
unsigned int reg_class_phys[3];
unsigned int reg_class_phys_or_acc[3];
};