Skip to content

Commit cb5b0c2

Browse files
committed
Fix unsigned vector clamp, min, max
1 parent b5c36e3 commit cb5b0c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

wgsl/index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4786,7 +4786,7 @@ TODO: deduplicate these tables
47864786
<td class="nowrap">`clamp(`|e1|`:` |T| `, `|e2|`:` |T|`, `|e3|`:` |T|`) ->` |T|
47874787
<td>(GLSLstd450UClamp)
47884788
<tr algorithm="vector case, unsigned clamp">
4789-
<td>|T| is i32
4789+
<td>|T| is u32
47904790
<td class="nowrap">`clamp(`|e1|`:` vec|N|<|T|> `, `|e2|`:` vec|N|<|T|>`, `|e3|`:`vec|N|<|T|> `) ->` vec|N|<|T|>
47914791
<td>(GLSLstd450UClamp)
47924792
<tr algorithm="scalar case, signed clamp">
@@ -4814,7 +4814,7 @@ TODO: deduplicate these tables
48144814
<td class="nowrap">`max(`|e1|`:` |T| `, `|e2|`:` |T|`) ->` |T|
48154815
<td>(GLSLstd450UMax)
48164816
<tr algorithm="vector case, unsigned max">
4817-
<td>|T| is i32
4817+
<td>|T| is u32
48184818
<td class="nowrap">`max(`|e1|`:` vec|N|<|T|> `, `|e2|`:` vec|N|<|T|>`) ->` vec|N|<|T|>
48194819
<td>(GLSLstd450UMax)
48204820
<tr algorithm="scalar case, signed max">
@@ -4830,7 +4830,7 @@ TODO: deduplicate these tables
48304830
<td class="nowrap">`min(`|e1|`:` |T| `, `|e2|`:` |T|`) ->` |T|
48314831
<td>(GLSLstd450UMin)
48324832
<tr algorithm="vector case, unsigned min">
4833-
<td>|T| is i32
4833+
<td>|T| is u32
48344834
<td class="nowrap">`min(`|e1|`:` vec|N|<|T|> `, `|e2|`:` vec|N|<|T|>`) ->` vec|N|<|T|>
48354835
<td>(GLSLstd450UMin)
48364836
<tr algorithm="scalar case, signed min">

0 commit comments

Comments
 (0)