Lines Matching refs:createCases
115 def createCases(name, source, valid): function
401 validCases = (createCases("repeat_interface_qualifier", repeatShaderTemplate, True)
402 + sum([createCases("layout_%s" % qualifier, layoutQualifierShaderTemplate % qualifier, True)
404 …+ createCases("layout_all", layoutQualifierShaderTemplate % "shared, packed, std140, row_major, co…
405 …+ createCases("layout_all_8_times", layoutQualifierShaderTemplate % str.join(", ", ["shared", "pac…
406 …+ sum([createCases("global_layout_%s" % qualifier, layoutGlobalQualifierShaderTemplate % qualifier…
408 …+ createCases("global_layout_all", layoutGlobalQualifierShaderTemplate % "shared, packed, std140, …
409 …+ createCases("global_layout_all_8_times", layoutGlobalQualifierShaderTemplate % str.join(", ", ["…
410 …+ sum([createCases("member_layout_%s" % qualifier, layoutMemberQualifierShaderTemplate % qualifier…
412 …+ sum([createCases("member_layout_%s_vec4" % qualifier, layoutMemberVec4QualifierShaderTemplate % …
414 …+ createCases("member_layout_all", layoutMemberQualifierShaderTemplate % "row_major, column_major"…
415 …+ createCases("member_layout_all_8_times", layoutMemberQualifierShaderTemplate % str.join(", ", ["…
416 + createCases("no_instance_name", noInstanceNameShaderTemplate, True)
417 + createCases("same_variable_and_block_name", sameVariableAndBlockNameShaderTemplate, True)
418 + createCases("same_variable_and_instance_name", sameVariableAndInstanceNameShaderTemplate, True)
419 + createCases("struct_member", structMemberShaderTemplate, True)
420 …+ sum([createCases("struct_member_layout_%s" % qualifier, layoutStructMemberQualifierShaderTemplat…
422 …+ createCases("struct_member_layout_all", layoutStructMemberQualifierShaderTemplate % "row_major, …
423 …+ createCases("struct_member_layout_all_8_times", layoutStructMemberQualifierShaderTemplate % str.…
424 + createCases("long_block_name", longIdentifierBlockNameShaderTemplate, True)
425 + createCases("long_instance_name", longIdentifierInstanceNameShaderTemplate, True)
426 + createCases("underscore_block_name", underscoreIdentifierBlockNameShaderTemplate, True)
427 + createCases("underscore_instance_name", underscoreIdentifierInstanceNameShaderTemplate, True))
873 …sum([createCases("member_%s_interface_qualifier" % qualifier, invalidMemberInterfaceQualifierShade…
875 + createCases("conflicting_instance_names", conflictingInstanceNamesShaderTemplate, False)
876 …+ createCases("conflicting_function_and_instance_name", conflictingFunctionAndInstanceNameShaderTe…
877 …+ createCases("conflicting_function_and_block_name", conflictingFunctionAndBlockNameShaderTemplate…
878 …+ sum([createCases("conflicting_%s_and_instance_name" % qualifier, conflictingVariableAndInstanceN…
880 …+ sum([createCases("conflicting_%s_and_block_name" % qualifier, conflictingVariableAndBlockNameSha…
882 …+ createCases("matching_instance_and_block_name", matchingInstanceAndBlockNameShaderTemplate, Fals…
883 + createCases("reference_using_block_name", referenceUsingBlockNameShaderTemplate, False)
884 + createCases("empty_block", emptyBlockShaderTemplate, False)
885 + createCases("empty_layout", emptyLayoutShaderTemplate, False)
886 + createCases("empty_member_layout", emptyMemberLayoutShaderTemplate, False)
887 + createCases("empty_global_layout", emptyGlobalLayoutShaderTemplate, False)
888 + createCases("structure_definition", structureDefinitionShaderTemplate, False)
889 …+ sum([createCases("member_layout_%s" % qualifier, invalidMemberLayoutShaderTemplate % qualifier, …
891 + createCases("missing_block_name", missingBlockNameShaderTemplate, False)
892 + createCases("invalid_number_block_name", invalidNumberBlockNameShaderTemplate, False)
893 + createCases("invalid_identifier_block_name", invalidIdentifierBlockNameShaderTemplate, False)
894 + createCases("invalid_hash_block_name", invalidHashBlockNameShaderTemplate, False)
895 + createCases("invalid_dollar_block_name", invalidDollarBlockNameShaderTemplate, False)
896 + createCases("too_long_block_name", tooLongIdentifierBlockNameShaderTemplate, False)
897 + createCases("invalid_number_instance_name", invalidNumberInstanceNameShaderTemplate, False)
898 …+ createCases("invalid_identifier_instance_name", invalidIdentifierInstanceNameShaderTemplate, Fal…
899 + createCases("invalid_hash_instance_name", invalidHashInstanceNameShaderTemplate, False)
900 + createCases("invalid_dollar_instance_name", invalidDollarInstanceNameShaderTemplate, False)
901 + createCases("repeated_block", repeatedBlockShaderTemplate, False)
902 … + createCases("repeated_block_no_instance_name", repeatedBlockNoInstanceNameShaderTemplate, False)
903 + sum([createCases("layout_%s" % qualifier, layoutQualifierShaderTemplate % qualifier, False)
905 …+ sum([createCases("global_layout_%s" % qualifier, layoutGlobalQualifierShaderTemplate % qualifier…