diff options
author | Chia-I Wu <[email protected]> | 2014-09-12 14:37:40 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-12 16:58:31 +0800 |
commit | 802018df5f4c193f1c642a187ecf3c429e2c2ada (patch) | |
tree | 44cabfa4be98bc56880f04e49fd0e7a1263240fe /src/gallium/targets/xvmc | |
parent | 07e0923203f2ede30f8023f223a096e66ab9e841 (diff) |
ilo: fix builder size checks for BLT buffer clear/copy
In buf_clear_region() and buf_copy_region(), max_cmd_size was set to 0. If
either of the functions is called and there is not enough space in the
builder, the next ilo_cp_flush() will fail silently in a release build.
Replace magic numbers by size defines in tex_clear_region()/tex_copy_region()
for consistency and readability.
Diffstat (limited to 'src/gallium/targets/xvmc')
0 files changed, 0 insertions, 0 deletions