[shader_recompiler] unify descriptor limit policy

This commit is contained in:
CamilleLaVey 2026-06-26 20:24:05 -04:00
parent 8037f1fbf6
commit fb53c4e135
7 changed files with 65 additions and 27 deletions

View file

@ -44,6 +44,7 @@ int IrShaderRecompilerImpl(int argc, char *argv[]) {
host_info.support_geometry_shader_passthrough = true;
host_info.support_conditional_barrier = true;
host_info.min_ssbo_alignment = 0;
host_info.ApplyDescriptorLimitPolicy();
auto program = Shader::Maxwell::TranslateProgram(inst_pool, block_pool, env, cfg, host_info);
auto const dumped_ir = Shader::IR::DumpProgram(program);
std::printf("%s\n", dumped_ir.c_str());