Skip to content

Commit

Permalink
Texture Builtins: offset to case from subcase (#4004)
Browse files Browse the repository at this point in the history
Missed 2 😱
  • Loading branch information
greggman authored Oct 16, 2024
1 parent 85bd850 commit 648e056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,13 @@ Parameters:
.combine('format', kTestableColorFormats)
.filter(t => isFillable(t.format))
.combine('minFilter', ['nearest', 'linear'] as const)
.combine('offset', [false, true] as const)
.beginSubcases()
.combine('samplePoints', kSamplePointMethods)
.combine('C', ['i32', 'u32'] as const)
.combine('A', ['i32', 'u32'] as const)
.combine('addressModeU', ['clamp-to-edge', 'repeat', 'mirror-repeat'] as const)
.combine('addressModeV', ['clamp-to-edge', 'repeat', 'mirror-repeat'] as const)
.combine('offset', [false, true] as const)
)
.beforeAllSubcases(t => {
t.skipIfTextureFormatNotSupported(t.params.format);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,8 @@ Parameters:
.filter(t => isDepthTextureFormat(t.format))
// MAINTENANCE_TODO: Remove when support for depth24plus, depth24plus-stencil8, and depth32float-stencil8 is added.
.filter(t => isEncodableTextureFormat(t.format))
.beginSubcases()
.combine('offset', [false, true] as const)
.beginSubcases()
.combine('samplePoints', kSamplePointMethods)
.combine('addressMode', ['clamp-to-edge', 'repeat', 'mirror-repeat'] as const)
.combine('minFilter', ['nearest', 'linear'] as const)
Expand Down

0 comments on commit 648e056

Please sign in to comment.