Lines Matching defs:condition

1472 				condition = ''
1481 condition = f"if ({versionCheck})\n "
1484 yield f"{condition}m_vk.{interfaceName} = ({functionTypeName}) GET_PROC_ADDR(\"{function.name}\");"
2421 condition = ''
2425 condition = ' checkExtension(properties, "' + extension + '")'
2427 condition = ' ' if condition == '' else condition + ' || '
2428 condition += 'context.contextSupports(vk::ApiVersion(' + str(structureDetail.api) + ', ' + str(major) + ', ' + str(structureDetail.minor) + ', 0))'
2429 if condition == '':
2430 condition = ' true'
2431 condition += ';'
2433 featureEnabledFlags.append('const bool' + nameSpacing + structureDetail.flagName + ' =' + condition)
3262 condition = 'if ( '
3265 condition = condition + 'context.contextSupports(vk::' + req + ')'
3267 condition = condition + req
3269 condition = condition + 'isExtensionStructSupported(deviceExtensions, RequiredExtension("' + req + '"))'
3271 condition = condition + ' && '
3272 condition = condition + ' )'
3273 stream.append('\t' + condition)
3279 condition = 'if ( '
3282 condition = condition + ' && '
3283 condition = condition + '( ' + structName + '.' + feature + ' == VK_FALSE )'
3284 condition = condition + ' )'
3285 stream.append('\t\t' + condition)
3304 condition = 'if ( '
3307 condition = condition + 'context.contextSupports(vk::' + req + ')'
3309 condition = condition + req
3311 condition = condition + 'isExtensionStructSupported(deviceExtensions, RequiredExtension("' + req + '"))'
3313 condition = condition + ' && '
3314 condition = condition + ' )'
3315 stream.append('\t' + condition)
3441 # when dependency is vulkan version then replace it with proper condition