MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / reloadModified

Function reloadModified

src/dll/shaderRegistry.cpp:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249 }
250
251 void reloadModified() {
252 mutex.lock();
253 const size_t count = shaderReloadInfo.size();
254
255 for (size_t i = 0; i < count; ++i) {
256 reloadIfModified(&shaderReloadInfo[i], &loadedShaders[i]);
257 }
258
259 mutex.unlock();
260 }
261
262 ID3D11PixelShader* getPs(ShaderHandle h) {
263 assert(shaderReloadInfo[h.id].shaderType == ShaderType::Pixel);

Callers 1

shaderCompilerThreadFunction · 0.85

Calls 1

reloadIfModifiedFunction · 0.85

Tested by

no test coverage detected