Lines Matching defs:attrib
2447 const AttributeSpec& attrib = attribs[ndx];
2450 name << "attrib" << ndx << "_";
2452 if (ndx == 0|| attrib.additionalPositionAttribute)
2457 if (attrib.useDefaultAttribute)
2461 << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType) << "_"
2462 << attrib.componentCount << "_"
2463 << DrawTestSpec::outputTypeToString(attrib.outputType) << "_";
2468 << DrawTestSpec::storageToString(attrib.storage) << "_"
2469 << attrib.offset << "_"
2470 << attrib.stride << "_"
2471 << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType);
2472 if (attrib.inputType != DrawTestSpec::INPUTTYPE_UNSIGNED_INT_2_10_10_10 && attrib.inputType != DrawTestSpec::INPUTTYPE_INT_2_10_10_10)
2473 name << attrib.componentCount;
2476 << (attrib.normalize ? "normalized_" : "")
2477 << DrawTestSpec::outputTypeToString(attrib.outputType) << "_"
2478 << DrawTestSpec::usageTypeToString(attrib.usage) << "_"
2479 << attrib.instanceDivisor << "_";
2546 const AttributeSpec& attrib = attribs[ndx];
2548 if (attrib.useDefaultAttribute)
2551 << "Attribute " << ndx << ": default, " << ((ndx == 0|| attrib.additionalPositionAttribute) ? ("position ,") : ("color ,"))
2552 << "input datatype " << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType) << ", "
2553 << "input component count " << attrib.componentCount << ", "
2554 << "used as " << DrawTestSpec::outputTypeToString(attrib.outputType) << ", ";
2559 << "Attribute " << ndx << ": " << ((ndx == 0|| attrib.additionalPositionAttribute) ? ("position ,") : ("color ,"))
2560 << "Storage in " << DrawTestSpec::storageToString(attrib.storage) << ", "
2561 << "stride " << attrib.stride << ", "
2562 << "input datatype " << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType) << ", "
2563 << "input component count " << attrib.componentCount << ", "
2564 << (attrib.normalize ? "normalized, " : "")
2565 << "used as " << DrawTestSpec::outputTypeToString(attrib.outputType) << ", "
2566 << "instance divisor " << attrib.instanceDivisor << ", ";
2683 const AttributeSpec& attrib = attribs[ndx];
2685 if (attrib.useDefaultAttribute)
2688 << "Attribute " << ndx << ": default, " << ((ndx == 0|| attrib.additionalPositionAttribute) ? ("position\n") : ("color\n"))
2689 << "\tinput datatype " << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType) << "\n"
2690 << "\tinput component count " << attrib.componentCount << "\n"
2691 << "\tused as " << DrawTestSpec::outputTypeToString(attrib.outputType) << "\n";
2696 << "Attribute " << ndx << ": " << ((ndx == 0|| attrib.additionalPositionAttribute) ? ("position\n") : ("color\n"))
2697 << "\tStorage in " << DrawTestSpec::storageToString(attrib.storage) << "\n"
2698 << "\tstride " << attrib.stride << "\n"
2699 << "\tinput datatype " << DrawTestSpec::inputTypeToString((DrawTestSpec::InputType)attrib.inputType) << "\n"
2700 << "\tinput component count " << attrib.componentCount << "\n"
2701 << (attrib.normalize ? "\tnormalized\n" : "")
2702 << "\tused as " << DrawTestSpec::outputTypeToString(attrib.outputType) << "\n"
2703 << "\tinstance divisor " << attrib.instanceDivisor << "\n";