Skip to content

Commit 2fe12cb

Browse files
committed
Update shader compilation to use VRHI_SHADER_SM_6_0 flag in test
1 parent 28f425a commit 2fe12cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_gfx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static vhShader CreateTestShader( const char* source, uint64_t stage )
212212
vhShader shader = vhAllocShader();
213213
std::vector< uint32_t > spirv;
214214
std::string error;
215-
bool ok = vhCompileShader( "TestShader", source, stage, spirv, "main", {}, {}, &error );
215+
bool ok = vhCompileShader( "TestShader", source, stage | VRHI_SHADER_SM_6_0, spirv, "main", {}, {}, &error );
216216
if ( !ok )
217217
{
218218
UTEST_PRINTF( "Shader Compilation Error: %s\n", error.c_str() );

0 commit comments

Comments
 (0)