diff options
author | Matt Turner <[email protected]> | 2014-10-31 11:24:43 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-11-06 11:09:46 -0800 |
commit | 7e19e6c877714e05e65ca2cecd1c782fdc260cb6 (patch) | |
tree | 5817fd42a621e3cdaf8c6850c6e4db43dbf88644 | |
parent | ee7e6009a94d070f58a52001780d295798a28073 (diff) |
i965/fs: Use execution size of 1 for some shader_time operations.
The ADDs depended on dispatch_width, which really isn't what we wanted.
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 698bd68ae24..1e3396c98b7 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -745,7 +745,7 @@ fs_visitor::emit_shader_time_end() push_force_uncompressed(); fs_reg start = shader_start_time; start.negate = true; - fs_reg diff = fs_reg(this, glsl_type::uint_type); + fs_reg diff = fs_reg(GRF, virtual_grf_alloc(1), BRW_REGISTER_TYPE_UD, 1); emit(ADD(diff, start, shader_end_time)); /* If there were no instructions between the two timestamp gets, the diff |