Hash :
18657894
Author :
Date :
2023-01-25T13:05:56
Add features to dump and replace shader source. dump_shader_source writes shader source strings to files named with the hash of the source and shader type. enable_shader_substitution allows subsituting the shader source with the strings contained in a file. The same file naming scheme as dump_shader_source is used so shaders can be dumped in one run, modified and subsititued in the next run. Use the ANGLE_SHADER_DUMP_PATH and debug.angle.shader_dump_path environment variables to control where files are written. If they are unspecified, write to the temp directory. Based upon Cody's CLs: https://chromium-review.googlesource.com/c/angle/angle/+/2755841 https://chromium-review.googlesource.com/c/angle/angle/+/3961670 Bug: angleproject:7760, chromium:1385510 Change-Id: I43b9827b977079b88daa794e867637f7a126b080 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4192347 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Geoff Lang <geofflang@chromium.org>
{
"include/platform/FeaturesD3D_autogen.h":
"256cd7175aa885e9ec57ecb86d455fc4",
"include/platform/FeaturesGL_autogen.h":
"38325ab28fca006d06f46d1ad4ad2d63",
"include/platform/FeaturesMtl_autogen.h":
"3f51c002af713c0ef4629c6c6000cb14",
"include/platform/FeaturesVk_autogen.h":
"4481f1e1198695596fceeb8152022529",
"include/platform/FrontendFeatures_autogen.h":
"be41034e621326dd51e86b139705ea39",
"include/platform/d3d_features.json":
"0d316218a4ac7c3bb9692e7525216973",
"include/platform/frontend_features.json":
"c2ace937cdaa65aedb66e7be5e5b761d",
"include/platform/gen_features.py":
"062989f7a8f3ff3b383f98fc8908dc33",
"include/platform/gl_features.json":
"83005189979f62258c7799ec6a6a7572",
"include/platform/mtl_features.json":
"ab0dce486f4188a22683b375a6c60961",
"include/platform/vk_features.json":
"5266e522142d92061527d3d1ff2ecc09",
"util/angle_features_autogen.cpp":
"19603d165c85a1c4e753fcd4fada995b",
"util/angle_features_autogen.h":
"78fa2117dd28160f11b28fe5e241acc1"
}