diff options
author | Francisco Jerez <[email protected]> | 2015-02-10 15:51:34 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 16:05:47 +0200 |
commit | 447879eb88b8df41ad32cf4406cc636b112b72d9 (patch) | |
tree | aae099dc2bcae6ab1dbde824e6b4d0a401b4ea17 /src/mesa/drivers/windows/gdi/wgl.c | |
parent | e6146e6f14d5e2f9080ce033814fb1d14a175e70 (diff) |
i965: Factor out virtual GRF allocation to a separate object.
Right now virtual GRF book-keeping and allocation is performed in each
visitor class separately (among other hundred different things),
leading to duplicated logic in each visitor and preventing layering as
it forces any code that manipulates i965 IR and needs to allocate
virtual registers to depend on the specific visitor that happens to be
used to translate from GLSL IR.
v2: Use realloc()/free() to allocate VGRF book-keeping arrays (Connor).
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/windows/gdi/wgl.c')
0 files changed, 0 insertions, 0 deletions