mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
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 <jason.ekstrand@intel.com>
This commit is contained in:
parent
ee7e6009a9
commit
7e19e6c877
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue