glsl: Fix IADD CC

This commit is contained in:
ameerj 2021-06-21 21:22:12 -04:00
parent a7536825df
commit bc6e399ae3
2 changed files with 7 additions and 5 deletions

View file

@ -227,7 +227,7 @@ std::string EmitGLSL(const Profile& profile, const RuntimeInfo& runtime_info, IR
ctx.header += "void main(){\n";
DefineVariables(ctx, ctx.header);
if (ctx.uses_cc_carry) {
ctx.header += "uint carry;";
ctx.header += "uint carry;uint iadd_op_b;";
}
if (program.info.uses_subgroup_shuffles) {
ctx.header += "bool shfl_in_bounds;";