diff options
author | Neil Roberts <[email protected]> | 2015-04-15 14:28:26 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2015-04-16 13:01:43 +0100 |
commit | a9e4cf5d323dbf11e42deda389ed03db571a7df7 (patch) | |
tree | 784ae764fef9353af50511828050d0cee21b7121 /src/hgl | |
parent | 037e0e78abf0c312f737d33f3c33e37b22bf226d (diff) |
i965/vec4: Add a helper function to emit VS_OPCODE_PULL_CONSTANT_LOAD
There were three places in the visitor that had a similar chunk of
code to emit the VS_OPCODE_PULL_CONSTANT_LOAD opcode using a register
for the offset. This patch combines the chunks into a helper function
to reduce the code duplication. It will also be useful in the next
patch to expand what happens on Gen9+. This shouldn't introduce any
functional changes.
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions