aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_light.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-18 16:55:28 -0700
committerKenneth Graunke <[email protected]>2016-07-19 17:34:59 -0700
commit89873c9b0860067ce01ec92b11b4f4242ef450c4 (patch)
tree87f5bf1d561a5801f0d3bef5dec93d28630f4f87 /src/mesa/tnl/t_vb_light.c
parent0ab47146c9be32949a37a621870529725ca789b1 (diff)
i965: Use tex_mocs instead of rb_mocs for GL images.
Fixes a 10-20% performance regression in OglCSDof caused by commit 5a8c89038abab0184ea72664ab390ec6ca58b4d6, which made images (in the image load/store sense) use BDW_MOCS_PTE instead of BDW_MOCS_WB. This seems sketchy, as the default PTE value is supposed to be WB LLC eLLC, which is the same as our MOCS WB setting. It's only supposed to change when using a surface for display, which won't ever happen for images. Something may be wrong in the kernel... Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_vb_light.c')
0 files changed, 0 insertions, 0 deletions