Skip to content

Commit 9f96427

Browse files
committed
fix testcase to use valid mipLODBias
1 parent d0eaf35 commit 9f96427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGenHLSL/RootSignature.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void RootDescriptorsEntry() {}
7676
// CHECK-SAME: i32 2, i32 3, i32 5,
7777

7878
// checking mipLODBias, maxAnisotropy, comparisonFunc, borderColor
79-
// CHECK-SAME: float 0x40403999A0000000, i32 9, i32 3, i32 2,
79+
// CHECK-SAME: float 0x4028E66660000000, i32 9, i32 3, i32 2,
8080

8181
// checking minLOD, maxLOD
8282
// CHECK-SAME: float -1.280000e+02, float 1.280000e+02,
@@ -90,7 +90,7 @@ void RootDescriptorsEntry() {}
9090
" addressU = TEXTURE_ADDRESS_MIRROR, " \
9191
" addressV = TEXTURE_ADDRESS_CLAMP, " \
9292
" addressW = TEXTURE_ADDRESS_MIRRORONCE, " \
93-
" mipLODBias = 32.45f, maxAnisotropy = 9, " \
93+
" mipLODBias = 12.45f, maxAnisotropy = 9, " \
9494
" comparisonFunc = COMPARISON_EQUAL, " \
9595
" borderColor = STATIC_BORDER_COLOR_OPAQUE_WHITE, " \
9696
" minLOD = -128.f, maxLOD = 128.f, " \

0 commit comments

Comments
 (0)