aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_entrypoints_gen.py
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2018-11-04 23:42:55 -0700
committerChia-I Wu <[email protected]>2019-03-11 10:01:33 -0700
commitdaffb01704f5d570893195f9e71826c93d1e8961 (patch)
tree187b73bde285a18650f3c6142e7bad992dc54342 /src/freedreno/vulkan/tu_entrypoints_gen.py
parentb4f3e0d5497d0726246da9d27697eeb2a1b71a15 (diff)
turnip: Fix indentation in function signatures
Due to s/anv/tu/, in many function signatures the indentation of parameters was off-by-one.
Diffstat (limited to 'src/freedreno/vulkan/tu_entrypoints_gen.py')
-rw-r--r--src/freedreno/vulkan/tu_entrypoints_gen.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/freedreno/vulkan/tu_entrypoints_gen.py b/src/freedreno/vulkan/tu_entrypoints_gen.py
index 865ad1de843..b56b32d9d3b 100644
--- a/src/freedreno/vulkan/tu_entrypoints_gen.py
+++ b/src/freedreno/vulkan/tu_entrypoints_gen.py
@@ -196,8 +196,8 @@ tu_resolve_entrypoint(uint32_t index)
*/
static bool
tu_entrypoint_is_enabled(int index, uint32_t core_version,
- const struct tu_instance_extension_table *instance,
- const struct tu_device_extension_table *device)
+ const struct tu_instance_extension_table *instance,
+ const struct tu_device_extension_table *device)
{
switch (index) {
% for e in entrypoints:
@@ -266,9 +266,9 @@ tu_lookup_entrypoint_unchecked(const char *name)
void *
tu_lookup_entrypoint_checked(const char *name,
- uint32_t core_version,
- const struct tu_instance_extension_table *instance,
- const struct tu_device_extension_table *device)
+ uint32_t core_version,
+ const struct tu_instance_extension_table *instance,
+ const struct tu_device_extension_table *device)
{
int index = tu_lookup_entrypoint(name);
if (index < 0 || !tu_entrypoint_is_enabled(index, core_version, instance, device))