Skip to content

Commit 2939f8d

Browse files
trivedivivekfacebook-github-bot
authored andcommitted
Fixing linux build. (#7580)
Summary: Fixing linux build issue. Reviewed By: jorgep31415 Differential Revision: D67997666
1 parent 478198b commit 2939f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/runtime/graph/ops/glsl/indexing_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ ivec3 lpos_to_pos(const ivec3 lpos, const ivec4 axis_map) {
224224
}
225225

226226
ivec3 idx_to_ipos_x_wise(uint idx, int size_x, int size_y) {
227-
const uint div_by_x = idx / size_x;
227+
int div_by_x = int(idx) / size_x;
228228
return ivec3(idx % size_x, div_by_x % size_y, div_by_x / size_y);
229229
}
230230

0 commit comments

Comments
 (0)