mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
i915g: move declaration before code
This commit is contained in:
parent
db0f2b3637
commit
9726947b68
1 changed files with 2 additions and 1 deletions
|
|
@ -1291,6 +1291,7 @@ i915_translate_fragment_program( struct i915_context *i915,
|
|||
{
|
||||
struct i915_fp_compile *p;
|
||||
const struct tgsi_token *tokens = fs->state.tokens;
|
||||
struct i915_token_list* i_tokens;
|
||||
|
||||
#if 0
|
||||
tgsi_dump(tokens, 0);
|
||||
|
|
@ -1306,7 +1307,7 @@ i915_translate_fragment_program( struct i915_context *i915,
|
|||
|
||||
p = i915_init_compile(i915, fs);
|
||||
|
||||
struct i915_token_list* i_tokens = i915_optimize(tokens);
|
||||
i_tokens = i915_optimize(tokens);
|
||||
i915_translate_instructions(p, i_tokens, fs);
|
||||
i915_fixup_depth_write(p);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue