projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7e600
)
i965/fs: Use execution size of 1 for some shader_time operations.
author
Matt Turner
<mattst88@gmail.com>
Fri, 31 Oct 2014 18:24:43 +0000
(11:24 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 6 Nov 2014 19:09:46 +0000
(11:09 -0800)
The ADDs depended on dispatch_width, which really isn't what we wanted.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 698bd68ae249525d0f978df4959efda40326a6a4..1e3396c98b70bc19e1cb5a217402ed72614116f7 100644
(file)
--- 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