diff options
author | Matt Turner <[email protected]> | 2017-05-18 10:59:23 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-06-06 11:47:46 -0700 |
commit | 275401d32bb0c773d61a30f5a10213acf61abc7b (patch) | |
tree | e5da3802e2f7563ce8a68f87b326bd5eec9461f1 /install-gallium-links.mk | |
parent | 925a4222f29dcf4e238a875dbd129f831c037bea (diff) |
i965: Pass flags to brw_bo_map_*
brw_bo_map_cpu() took a write_enable arg, but it wasn't always clear
whether we were also planning to read from the buffer. I kept everything
semantically identical by passing only MAP_READ or MAP_READ | MAP_WRITE
depending on the write_enable argument.
The other flags are not used yet, but MAP_ASYNC for instance, will be
used in a later patch to remove the need for a separate
brw_bo_map_unsynchronized() function.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions