shader-slang / slang

Making it easier to work with shaders
MIT License
2.07k stars 178 forks source link

Refactor of obfuscateModuleLocs #4265

Open kaizhangNV opened 4 months ago

kaizhangNV commented 4 months ago

We found out that obfuscateModuleLocs cause the performance regression by 30 times on Windows. So we will need to refactor this function.

This function not is optional selected by the input parameter "-disable-source-map" implemented by #4260 .

And some initial refactor is done by change: #4261.

We will need further refactor to this function.

bmillsNV commented 2 months ago

Not priority for now. Shifting to Q4 for now.