return gen8_cmd_buffer_emit_state_base_address(cmd_buffer);
case 9:
return gen9_cmd_buffer_emit_state_base_address(cmd_buffer);
+ case 10:
+ return gen10_cmd_buffer_emit_state_base_address(cmd_buffer);
default:
unreachable("unsupported gen\n");
}
${type_} gen75_${name}(${args});
${type_} gen8_${name}(${args});
${type_} gen9_${name}(${args});
+ ${type_} gen10_${name}(${args});
% if guard is not None:
#endif // ${guard}
% endif
* either pick the correct entry point.
*/
- % for layer in ['anv', 'gen7', 'gen75', 'gen8', 'gen9']:
+ % for layer in ['anv', 'gen7', 'gen75', 'gen8', 'gen9', 'gen10']:
% for type_, name, args, _, _, guard in entrypoints:
% if guard is not None:
#ifdef ${guard}
}
switch (devinfo->gen) {
+ case 10:
+ if (gen10_layer.entrypoints[index])
+ return gen10_layer.entrypoints[index];
+ /* fall through */
case 9:
if (gen9_layer.entrypoints[index])
return gen9_layer.entrypoints[index];