summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_math.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-12 14:37:40 +0800
committerChia-I Wu <[email protected]>2014-09-12 16:58:31 +0800
commit802018df5f4c193f1c642a187ecf3c429e2c2ada (patch)
tree44cabfa4be98bc56880f04e49fd0e7a1263240fe /src/gallium/auxiliary/util/u_math.h
parent07e0923203f2ede30f8023f223a096e66ab9e841 (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/auxiliary/util/u_math.h')
0 files changed, 0 insertions, 0 deletions