Skip to content

Commit

Permalink
wgsl: valdate dot4I8Packed, dot4U8Packed on bool and bool vec (#3491)
Browse files Browse the repository at this point in the history
Issue: #3180
  • Loading branch information
dneto0 authored Mar 13, 2024
1 parent 022bbf5 commit 3b0f7f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const kBadArgs = {
'1f32': '(1u,2f)',
'1bool': '(1u,true)',
'1vec2u': '(1u,vec2u())',
bool_bool: '(false,true)',
bool2_bool2: '(vec2<bool>(),vec2(false,true))',
};

export const g = makeTestGroup(ShaderValidationTest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const kBadArgs = {
'1f32': '(1u,2f)',
'1bool': '(1u,true)',
'1vec2u': '(1u,vec2u())',
bool_bool: '(false,true)',
bool2_bool2: '(vec2<bool>(),vec2(false,true))',
};

export const g = makeTestGroup(ShaderValidationTest);
Expand Down

0 comments on commit 3b0f7f1

Please sign in to comment.