summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-04-28 01:35:57 -0700
committerKenneth Graunke <[email protected]>2013-04-29 11:10:50 -0700
commit5e46482993dfd30b888d5219f6fecf4b4d1f42de (patch)
tree35c03e7e4b4a14c3d5e99bb28fd8b5fdb8b0d728 /src/egl
parenta6e7c22664c2fe9a5d0dc2088c60047fb40938ed (diff)
i965: Move is_math/is_tex/is_control_flow() to backend_instruction.
These are entirely based on the opcode, which is available in backend_instruction. It makes sense to only implement them in one place. This changes the VS implementation of is_tex() slightly, which now accepts FS_OPCODE_TXB and SHADER_OPCODE_LOD. However, since those aren't generated in the VS anyway, it should be fine. This also makes is_control_flow() available in the VS. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions