Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 18f6f54

Browse files
committed
test
1 parent 303f1e7 commit 18f6f54

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

impeller/renderer/backend/vulkan/compute_pass_vk.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ fml::Status ComputePassVK::Compute(const ISize& grid_size) {
104104

105105
// Special case for linear processing.
106106
if (height == 1) {
107-
int64_t minimum = 1;
108-
int64_t threadGroups = std::max(
109-
static_cast<int64_t>(std::ceil(width * 1.0 / max_wg_size_[0] * 1.0)),
110-
minimum);
111-
command_buffer_vk.dispatch(threadGroups, 1, 1);
107+
command_buffer_vk.dispatch(width, 1, 1);
112108
} else {
113109
while (width > max_wg_size_[0]) {
114110
width = std::max(static_cast<int64_t>(1), width / 2);

0 commit comments

Comments
 (0)