diff options
author | Kenneth Graunke <[email protected]> | 2018-07-30 23:49:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | dfe1ee4f6f98408e570b2cce882a566becd9bd7d (patch) | |
tree | 8ae1d8b40c715ad804313919ddf7406617401779 /src/gallium/drivers/iris/iris_clear.c | |
parent | 387a414f2cb2673e9adbe2f84a4a54d5f2a5334c (diff) |
iris: comment everything
1. Write the code
2. Add comments
3. PROFIT (or just avoid cost of explaining or relearning things...)
Diffstat (limited to 'src/gallium/drivers/iris/iris_clear.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_clear.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index 41ac727976d..91a161b88c6 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -35,6 +35,11 @@ #include "iris_screen.h" #include "intel/compiler/brw_compiler.h" +/** + * The pipe->clear() driver hook. + * + * This clears buffers attached to the current draw framebuffer. + */ static void iris_clear(struct pipe_context *ctx, unsigned buffers, |