diff options
author | Tom Stellard <[email protected]> | 2012-09-17 14:31:31 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-09-21 19:45:17 +0000 |
commit | 8ed9aaea5112bcda9ec7120e1c3b6f0447cc6cd2 (patch) | |
tree | 56546bade20319307ab3171ea00264085fd43a85 /src/gallium/state_trackers/clover | |
parent | 024e1732cba28adc0c6055744339048dee376482 (diff) |
clover: Initialize height and depth to 1 for transfers
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
-rw-r--r-- | src/gallium/state_trackers/clover/api/transfer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/api/transfer.cpp b/src/gallium/state_trackers/clover/api/transfer.cpp index c67b75e8034..8ea8f86768b 100644 --- a/src/gallium/state_trackers/clover/api/transfer.cpp +++ b/src/gallium/state_trackers/clover/api/transfer.cpp @@ -89,7 +89,7 @@ namespace { static mapping get(cl_command_queue q, memory_obj *obj, cl_map_flags flags, size_t offset, size_t size) { - return { *q, obj->resource(q), flags, true, { offset }, { size }}; + return { *q, obj->resource(q), flags, true, { offset }, { size, 1, 1 }}; } }; |