"\n\n", num_waves);
/* Dump annotated active graphics shaders. */
- while (active_stages) {
- int stage = u_bit_scan(&active_stages);
+ unsigned stages = active_stages;
+ while (stages) {
+ int stage = u_bit_scan(&stages);
radv_dump_annotated_shader(pipeline->shaders[stage],
stage, waves, num_waves, f);
VkShaderStageFlagBits active_stages, FILE *f)
{
/* Dump active graphics shaders. */
- while (active_stages) {
- int stage = u_bit_scan(&active_stages);
+ unsigned stages = active_stages;
+ while (stages) {
+ int stage = u_bit_scan(&stages);
radv_dump_shader(pipeline, pipeline->shaders[stage], stage, f);
}