diff options
author | Kristian Høgsberg <[email protected]> | 2014-11-13 16:28:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-11-14 19:38:03 -0800 |
commit | f2bb655ac75d04dc033546479aabbbf4112cc54e (patch) | |
tree | f9c05b55e1b4d2eb937c95fa47b90836311c6c47 /common.py | |
parent | 13849f327cb3e6aa34a8a91fbbc7d68fd010d7ec (diff) |
i965: Refactor fs_generator API
We split out SIMD8 and SIMD16 generation into seperate calls to
new method generate_code(), which returns the start offset for the
generated code. A new get_assembly() method returns the generated code.
This avoids asserting MESA_SHADER_FRAGMENT and accessing wm_prog_data
in the generator.
Signed-off-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions