diff options
author | Eric Anholt <[email protected]> | 2018-07-30 12:57:31 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-30 14:29:01 -0700 |
commit | 300e609feb173d40873020c3e250f9257b5f3321 (patch) | |
tree | 52a1c25f6c430374a6d7e8a83dd496f35a82a852 /src/gallium/drivers/v3d/v3dx_rcl.c | |
parent | 3a8550ad06ecac6f4aac53807e416fc045cd871d (diff) |
v3d: s/colour/color in the XML.
The CLIF format expects american english spelling, and the rest of Mesa is
too. I was previously adhering to the spec's spelling, which is
counterproductive.
Diffstat (limited to 'src/gallium/drivers/v3d/v3dx_rcl.c')
-rw-r--r-- | src/gallium/drivers/v3d/v3dx_rcl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/v3d/v3dx_rcl.c b/src/gallium/drivers/v3d/v3dx_rcl.c index c6aac7ebbc7..acd6e9297e4 100644 --- a/src/gallium/drivers/v3d/v3dx_rcl.c +++ b/src/gallium/drivers/v3d/v3dx_rcl.c @@ -161,11 +161,11 @@ store_general(struct v3d_job *job, assert(buffer != ZSTENCIL); store.raw_mode = true; if (!last_store) { - store.disable_colour_buffers_clear_on_write = true; + store.disable_color_buffers_clear_on_write = true; store.disable_z_buffer_clear_on_write = true; store.disable_stencil_buffer_clear_on_write = true; } else { - store.disable_colour_buffers_clear_on_write = + store.disable_color_buffers_clear_on_write = !(((pipe_bit & PIPE_CLEAR_COLOR_BUFFERS) && general_color_clear && (job->clear & pipe_bit))); @@ -246,8 +246,8 @@ v3d_rcl_emit_loads(struct v3d_job *job, struct v3d_cl *cl) * tile coordinates. */ if (loads_pending) { - cl_emit(cl, RELOAD_TILE_COLOUR_BUFFER, load) { - load.disable_colour_buffer_load = + cl_emit(cl, RELOAD_TILE_COLOR_BUFFER, load) { + load.disable_color_buffer_load = (~loads_pending & PIPE_CLEAR_COLOR_BUFFERS) >> PIPE_FIRST_COLOR_BUFFER_BIT; @@ -356,7 +356,7 @@ v3d_rcl_emit_stores(struct v3d_job *job, struct v3d_cl *cl) /* Note that when set this will clear all of the color * buffers. */ - store.disable_colour_buffers_clear_on_write = + store.disable_color_buffers_clear_on_write = !needs_color_clear; store.disable_z_buffer_clear_on_write = !needs_z_clear; |