Skip to content
Snippets Groups Projects
Commit f2bb655a authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Kenneth Graunke
Browse files

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: default avatarKristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 13849f32
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment