Commit bff4539
webgpu: Fix the compile error in conv2d_naive shader (#2002)
BUG
When switch to the naive method of conv2d, below error will be met:
Error: Shader compilation failed: file:124: error: 'getX' : no matching overloaded function found.
Error: Shader compilation failed: file:131: error: 'getW' : no matching overloaded function found.
The fixing uses the right get* methods. And uses int instead of uint as the parameter type.1 parent ee8b2ae commit bff4539
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments