Commit 56b876ec authored by Brian Paul's avatar Brian Paul

svga: simplify common immediate value construction

Use some new helper functions to make the code much more readable.
And fix wrong value for XPD's w result.
Reviewed-by: default avatarJosé Fonseca <>
parent 023020d7
......@@ -85,8 +85,8 @@ struct svga_shader_emitter
boolean in_main_func;
boolean created_zero_immediate;
int zero_immediate_idx;
boolean created_common_immediate;
int common_immediate_idx;
boolean created_loop_const;
int loop_const_idx;
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment