瀏覽代碼

i965/fs: Allow source mods on gen7+ math.

This gen6 restriction was removed in gen7 as the mathbox merge to act
more like a normal instruction was finished in the hardware.
tags/gles3-fmt-v1
Eric Anholt 13 年之前
父節點
當前提交
9156d0cba1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/mesa/drivers/dri/i965/brw_fs.cpp

+ 1
- 1
src/mesa/drivers/dri/i965/brw_fs.cpp 查看文件

@@ -1645,7 +1645,7 @@ fs_visitor::register_coalesce()
* unusual register regions, so avoid coalescing those for
* now. We should do something more specific.
*/
if (intel->gen >= 6 &&
if (intel->gen == 6 &&
scan_inst->is_math() &&
(has_source_modifiers || inst->src[0].file == UNIFORM)) {
interfered = true;

Loading…
取消
儲存