diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 0f1300c1cc6..a311266201b 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3557,8 +3557,6 @@ fs_visitor::optimize() { const char *stage_name = stage == MESA_SHADER_VERTEX ? "vs" : "fs"; - calculate_cfg(); - split_virtual_grfs(); move_uniform_array_access_to_pull_constants(); @@ -3734,6 +3732,8 @@ fs_visitor::run_vs() emit_urb_writes(); + calculate_cfg(); + optimize(); assign_curb_setup(); @@ -3813,6 +3813,8 @@ fs_visitor::run_fs() emit_fb_writes(); + calculate_cfg(); + optimize(); assign_curb_setup(); |