etnaviv: fix typo
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 9 Aug 2019 11:25:23 +0000 (13:25 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 9 Aug 2019 13:08:20 +0000 (13:08 +0000)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/etnaviv_screen.c

index 27c990bbccb51d3ba4795e93cde4a40cebefc6cc..8c80c1e95565284b5b1f22c94c7df9bd13add169 100644 (file)
@@ -380,8 +380,8 @@ gpu_supports_texture_target(struct etna_screen *screen,
 }
 
 static bool
-gpu_supports_texure_format(struct etna_screen *screen, uint32_t fmt,
-                           enum pipe_format format)
+gpu_supports_texture_format(struct etna_screen *screen, uint32_t fmt,
+                            enum pipe_format format)
 {
    bool supported = true;
 
@@ -451,7 +451,7 @@ etna_screen_is_format_supported(struct pipe_screen *pscreen,
    if (usage & PIPE_BIND_SAMPLER_VIEW) {
       uint32_t fmt = translate_texture_format(format);
 
-      if (!gpu_supports_texure_format(screen, fmt, format))
+      if (!gpu_supports_texture_format(screen, fmt, format))
          fmt = ETNA_NO_MATCH;
 
       if (sample_count < 2 && fmt != ETNA_NO_MATCH)