projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bbe4c
)
i965/fs: Don't consider LOAD_PAYLOAD with sub-GRF offset to behave like a raw copy.
author
Francisco Jerez
<currojerez@riseup.net>
Fri, 2 Sep 2016 04:05:51 +0000
(21:05 -0700)
committer
Francisco Jerez
<currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:55 +0000
(14:50 -0700)
This was likely the original intention, and at least register coalesce
relies on it.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.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 375d73be5e91d3f5e6ece3282227ed7f03a6d3a0..c10579880b6161fa0a4c80f734d5ca43a0a67f60 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-353,7
+353,7
@@
fs_inst::is_copy_payload(const brw::simple_allocator &grf_alloc) const
return false;
fs_reg reg = this->src[0];
- if (reg.file != VGRF || reg.offset
/ REG_SIZE
!= 0 || reg.stride == 0)
+ if (reg.file != VGRF || reg.offset != 0 || reg.stride == 0)
return false;
if (grf_alloc.sizes[reg.nr] * REG_SIZE != this->size_written)