Shader type read for translation.
This commit is contained in:
@@ -64,6 +64,11 @@ void NopGraphicsDriver::SetShader(
|
||||
if (source) {
|
||||
xe_free(source);
|
||||
}
|
||||
|
||||
// Prepare for use.
|
||||
if (shader->Prepare()) {
|
||||
XELOGGPU("NOP: failed to prepare shader");
|
||||
}
|
||||
}
|
||||
|
||||
void NopGraphicsDriver::DrawIndexed(
|
||||
|
||||
Reference in New Issue
Block a user