diff options
author | Bruce Cherniak <[email protected]> | 2017-02-25 21:09:57 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-03-02 13:39:52 -0600 |
commit | dd649a541d32a25b42044af59b0b17794a9466a4 (patch) | |
tree | 0b4901ba1cd66a4574bd7ce4fb54de105c1f6279 /src/gallium/drivers/swr/swr_screen.cpp | |
parent | b36050143f4ceecadbd1f5ffe5e3948486497387 (diff) |
swr: enable clear_texture with util_clear_texture
Passes corresponding piglit tests.
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index f5e000c3cf0..f41020b8e80 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -243,6 +243,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_CLIP_HALFZ: case PIPE_CAP_POLYGON_OFFSET_CLAMP: case PIPE_CAP_DEPTH_BOUNDS_TEST: + case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_TEXTURE_FLOAT_LINEAR: case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR: case PIPE_CAP_CULL_DISTANCE: @@ -283,7 +284,6 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_FORCE_PERSAMPLE_INTERP: case PIPE_CAP_SHAREABLE_SHADERS: case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS: - case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_DRAW_PARAMETERS: case PIPE_CAP_TGSI_PACK_HALF_FLOAT: case PIPE_CAP_MULTI_DRAW_INDIRECT: |