summaryrefslogtreecommitdiffstats
path: root/Android.common.mk
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-31 12:58:54 -0700
committerJason Ekstrand <[email protected]>2016-09-12 19:42:57 -0700
commit6da968b651f7c3f3475f68c80756adce441754e1 (patch)
tree64a8c8ce18203076d8d75f8a5feabbfbdc405da3 /Android.common.mk
parentec7e0d62c5fe5b17e833c7ab91d0b753f0d02918 (diff)
intel/blorp: Fix the early return condition in convert_to_single_slice
The convert_to_single_slice operation is *mostly* idempotent. The only non-repeatable thing it does is that, when it sets the intratile offset fields, it just overwrites them instead of doing a += operation. This is supposed to be ok because we have an early return at the top that should make it bail of the surface is already a single slice. Unfortunately, the if condition has been broken ever since it was first added in 96fa98c18. This commit fixes the condition and adds an assert to ensure we don't stomp any non-zero intratile offsets. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions