diff options
author | Connor Abbott <[email protected]> | 2015-06-24 12:28:47 -0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2015-06-30 11:18:27 -0700 |
commit | 864907e2f14523c130e6ff24c081789bb079bae1 (patch) | |
tree | 3cbda9a797b787a3ba37c1f62904011a65a108be /src/mesa/drivers/dri/i965/intel_batchbuffer.h | |
parent | 2b1a1d8b1294f91b7ac563da1f395deba4384765 (diff) |
i965/fs: use SSA values directly
Before, we would use registers, but set a magical "parent_instr" field
to indicate that it was actually purely an SSA value (i.e., it wasn't
involved in any phi nodes). Instead, just use SSA values directly, which
lets us get rid of the hack and reduces memory usage since we're not
allocating a nir_register for every value. It also makes our handling of
load_const more consistent compared to the other instructions.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions