st/nine: Optimize a bit writeonly buffers
authorAxel Davy <davyaxel0@gmail.com>
Wed, 24 Apr 2019 21:24:40 +0000 (23:24 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:52 +0000 (19:18 +0200)
commit562f5a35c88f0de62bb6f6c65fa668b6211e4bd0
tree485887d9227f763db9d1acf3f8c14726a02823f8
parent92117c989ca46ec01b58aec630bcca8cab1e8d15
st/nine: Optimize a bit writeonly buffers

Optimize writeonly by passing PIPE_TRANSFER_WRITE
for these buffers instead of the safer
PIPE_TRANSFER_READ_WRITE.

This seems to improve the performance of d3d8 games
using d3d8to9.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/buffer9.c