summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-20 19:44:15 -0800
committerEric Anholt <[email protected]>2014-11-24 12:37:33 -0800
commit52a7cb2ec465497bf6a4e20558340b45fbe7d7c3 (patch)
treeea24cbe5acc702d9f9ee3ac1728e54c602278621
parent6f4adb7483c86eabfb1b89f19f6b48b4413a79d1 (diff)
vc4: Fix some inconsistent indentation.
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index 96536acfb5e..abd44eee3a8 100644
--- a/src/gallium/drivers/vc4/vc4_screen.c
+++ b/src/gallium/drivers/vc4/vc4_screen.c
@@ -284,8 +284,8 @@ vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
return 8;
else
return 16;
- case PIPE_SHADER_CAP_MAX_OUTPUTS:
- return shader == PIPE_SHADER_FRAGMENT ? 1 : 8;
+ case PIPE_SHADER_CAP_MAX_OUTPUTS:
+ return shader == PIPE_SHADER_FRAGMENT ? 1 : 8;
case PIPE_SHADER_CAP_MAX_TEMPS:
return 256; /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
case PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE:
@@ -386,12 +386,12 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen,
retval |= PIPE_BIND_TRANSFER_WRITE;
#if 0
- if (retval != usage) {
- fprintf(stderr,
+ if (retval != usage) {
+ fprintf(stderr,
"not supported: format=%s, target=%d, sample_count=%d, "
"usage=0x%x, retval=0x%x\n", util_format_name(format),
target, sample_count, usage, retval);
- }
+ }
#endif
return retval == usage;
@@ -416,7 +416,7 @@ vc4_screen_create(int fd)
vc4_fence_init(screen);
- vc4_debug = debug_get_option_vc4_debug();
+ vc4_debug = debug_get_option_vc4_debug();
if (vc4_debug & VC4_DEBUG_SHADERDB)
vc4_debug |= VC4_DEBUG_NORAST;