test: Update RHI unit tests to use CreateShader API
Rename CompileShader to CreateShader in all RHI unit tests: - test_command_list.cpp - test_compute.cpp - test_shader.cpp
This commit is contained in:
@@ -435,7 +435,7 @@ TEST_P(RHITestFixture, CommandList_SetShader) {
|
||||
shaderDesc.source.assign(vs, vs + strlen(vs));
|
||||
}
|
||||
|
||||
RHIShader* shader = GetDevice()->CompileShader(shaderDesc);
|
||||
RHIShader* shader = GetDevice()->CreateShader(shaderDesc);
|
||||
if (shader == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user