summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-14 20:05:33 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-14 20:05:51 +0100
commite3bc1fb6bcd3141df8ab9123c4f6c276f30f6649 (patch)
tree8652206d0af1dfdad99d9ca62a5b4498020f64b7 /progs
parent10430f47a49884ec59eca5942fdaee80119684af (diff)
gallium: Always map for READ flag when DISCARD is not set.
This prevents the driver from discarding a buffer when the whole buffer is mapped for writing, but only a portion is effectively written. This is a temporary fix, because WRITE shouldn't imply DISCARD. The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout the code, and will go only into master.
Diffstat (limited to 'progs')
0 files changed, 0 insertions, 0 deletions