mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Metal: Added embedded shaders.
This commit is contained in:
@@ -127,6 +127,11 @@ class DrawStress : public entry::AppI
|
||||
fs_drawstress = bgfx::makeRef(fs_drawstress_dx11, sizeof(fs_drawstress_dx11) );
|
||||
break;
|
||||
|
||||
case bgfx::RendererType::Metal:
|
||||
vs_drawstress = bgfx::makeRef(vs_drawstress_mtl, sizeof(vs_drawstress_mtl) );
|
||||
fs_drawstress = bgfx::makeRef(fs_drawstress_mtl, sizeof(fs_drawstress_mtl) );
|
||||
break;
|
||||
|
||||
default:
|
||||
vs_drawstress = bgfx::makeRef(vs_drawstress_glsl, sizeof(vs_drawstress_glsl) );
|
||||
fs_drawstress = bgfx::makeRef(fs_drawstress_glsl, sizeof(fs_drawstress_glsl) );
|
||||
|
||||
Reference in New Issue
Block a user