Lines Matching defs:value
66 FormatArgument (const char* name, const std::string& value);
75 FormatArgument::FormatArgument (const char* name, const std::string& value)
77 , m_value (value)
589 // Invariant value can be calculated using unrelated value
674 group->addChild(new BasicInvarianceTest(m_context, "loop_0", "Invariant value set using a loop",
681 " ${IN_PREC} vec4 value = a_input;\n"
685 " value *= ${LOOP_MULTIPLIER};\n"
686 " v_unrelated += value;\n"
688 " gl_Position = vec4(value.xyz / ${LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
696 " ${IN_PREC} vec4 value = a_input;\n"
700 " value *= ${LOOP_MULTIPLIER};\n"
702 " gl_Position = vec4(value.xyz / ${LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
705 group->addChild(new BasicInvarianceTest(m_context, "loop_1", "Invariant value set using a loop",
712 " ${IN_PREC} vec4 value = a_input;\n"
715 " value *= ${LOOP_MULTIPLIER};\n"
717 " v_unrelated = value;\n"
719 " gl_Position = vec4(value.xyz / ${LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
727 " ${IN_PREC} vec4 value = a_input;\n"
731 " value *= ${LOOP_MULTIPLIER};\n"
733 " gl_Position = vec4(value.xyz / ${LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
736 group->addChild(new BasicInvarianceTest(m_context, "loop_2", "Invariant value set using a loop",
743 " ${IN_PREC} vec4 value = a_input;\n"
747 " value *= ${LOOP_MULTIPLIER};\n"
749 " gl_Position = a_input + 0.05 * vec4(fract(value.xyz / 1.0e${LOOP_NORM_FRACT_EXP}), 1.0);\n"
751 " v_unrelated = value + a_input;\n"
760 " ${IN_PREC} vec4 value = a_input;\n"
764 " value *= ${LOOP_MULTIPLIER};\n"
766 " gl_Position = a_input + 0.05 * vec4(fract(value.xyz / 1.0e${LOOP_NORM_FRACT_EXP}), 1.0);\n"
772 group->addChild(new BasicInvarianceTest(m_context, "loop_3", "Invariant value set using a loop",
779 " ${IN_PREC} vec4 value = a_input;\n"
784 " value *= ${LOOP_MULTIPLIER};\n"
785 " gl_Position += vec4(value.xyz / ${SUM_LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
795 " ${IN_PREC} vec4 value = a_input;\n"
800 " value *= ${LOOP_MULTIPLIER};\n"
801 " gl_Position += vec4(value.xyz / ${SUM_LOOP_NORM_LITERAL} + a_input.xyz * 0.1, 1.0);\n"
805 group->addChild(new BasicInvarianceTest(m_context, "loop_4", "Invariant value set using a loop",