{"w64ge", DBG(W64_GE), "Use Wave64 for vertex, tessellation, and geometry shaders."},
{"w64ps", DBG(W64_PS), "Use Wave64 for pixel shaders."},
{"w64cs", DBG(W64_CS), "Use Wave64 for computes shaders."},
- {"noinfinterp", DBG(KILL_PS_INF_INTERP), "Kill PS with infinite interp coeff"},
/* Shader compiler options (with no effect on the shader cache): */
{"checkir", DBG(CHECK_IR), "Enable additional sanity checks on shader IR"},
#include "si_debug_options.h"
}
- if (sscreen->options.no_infinite_interp)
- sscreen->debug_flags |= DBG(KILL_PS_INF_INTERP);
- if (sscreen->options.clamp_div_by_zero)
- sscreen->debug_flags |= DBG(CLAMP_DIV_BY_ZERO);
-
si_disk_cache_create(sscreen);
/* Determine the number of shader compiler threads. */
ctx->shader->key.mono.u.ps.interpolate_at_sample_force_center;
ctx->abi.kill_ps_if_inf_interp =
- (ctx->screen->debug_flags & DBG(KILL_PS_INF_INTERP)) &&
+ ctx->screen->options.no_infinite_interp &&
(ctx->shader->selector->info.uses_persp_center ||
ctx->shader->selector->info.uses_persp_centroid ||
ctx->shader->selector->info.uses_persp_sample);