Skip to content

Commit 500186b

Browse files
committed
Update depth format in QueryFormatSupport test
1 parent a36fc77 commit 500186b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ UTEST( Device, QueryFormatSupport )
327327
EXPECT_TRUE( ( rgba8Support & nvrhi::FormatSupport::ShaderSample ) != nvrhi::FormatSupport::None );
328328

329329
// Test format support flags
330-
nvrhi::FormatSupport depthSupport = vhQueryFormatSupport( nvrhi::Format::D24S8 );
330+
nvrhi::FormatSupport depthSupport = vhQueryFormatSupport( nvrhi::Format::D32S8 );
331331
EXPECT_TRUE( ( depthSupport & nvrhi::FormatSupport::DepthStencil ) != nvrhi::FormatSupport::None );
332332

333333
nvrhi::FormatSupport floatSupport = vhQueryFormatSupport( nvrhi::Format::R32_FLOAT );

0 commit comments

Comments
 (0)