aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_texture.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-07-20 14:28:23 +1000
committerDave Airlie <[email protected]>2019-08-27 12:30:04 +1000
commit2909c654b014e5360b08b28b70df297cd8e1c090 (patch)
tree78188d8f59c13706a37b1f6118bf5a8bac5f5edd /src/gallium/drivers/llvmpipe/lp_texture.c
parentdc2357070cb78497686d5d3b02418032dddac5ac (diff)
llvmpipe: add fragment shader image support
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c
index ea993c9e524..ca15d785055 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.c
+++ b/src/gallium/drivers/llvmpipe/lp_texture.c
@@ -647,7 +647,8 @@ llvmpipe_is_resource_referenced( struct pipe_context *pipe,
if (!(presource->bind & (PIPE_BIND_DEPTH_STENCIL |
PIPE_BIND_RENDER_TARGET |
PIPE_BIND_SAMPLER_VIEW |
- PIPE_BIND_SHADER_BUFFER)))
+ PIPE_BIND_SHADER_BUFFER |
+ PIPE_BIND_SHADER_IMAGE)))
return LP_UNREFERENCED;
return lp_setup_is_resource_referenced(llvmpipe->setup, presource);