diff options
author | Kenneth Graunke <[email protected]> | 2014-10-10 11:41:20 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-10-15 17:05:22 -0700 |
commit | b17f571945d0bb6085bed50f2deaafab274ffac3 (patch) | |
tree | dc4bd8e8f5a23cf261650767e31e1a2a030a3e76 /src/gallium/targets | |
parent | 9e95d8ebf811cd741e689174c4080bb93e8bec5e (diff) |
i965/fs: Refactor the texture emission logic into a single function.
Before, we had 3 different emit functions for various different gen's,
as well as some ancilliary work that was the same across all gen's which
was either contained in functions or duplicated across the GLSL IR and
Mesa IR backends. Now, we have a single method, emit_texture(), that
takes all the information needed to make a texture instruction and
handles all the setup, and all we have to do to emit a texture
instruction while converting from GLSL IR, Mesa IR, or any new backend
is to extract the information emit_texture() needs and then call it.
v2: Significant rebasing (by Ken).
Signed-off-by: Connor Abbott <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions