summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-01-08 19:58:33 -0500
committerIlia Mirkin <[email protected]>2016-02-15 22:22:33 -0500
commit78093167b18ac9cb40e449916e85590d595ab297 (patch)
tree9f073410513c9f0e833fc34e3d09a4d81ee7d888 /src/mesa/state_tracker/st_context.c
parente2a1ec5f0f0314915fdfc9a8ef93f3789f356404 (diff)
st/mesa: add an image atom for shader images
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index e4697633ea0..cba7f74c3a3 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -384,6 +384,7 @@ static void st_init_driver_flags(struct gl_driver_flags *f)
f->NewTextureBuffer = ST_NEW_SAMPLER_VIEWS;
f->NewAtomicBuffer = ST_NEW_ATOMIC_BUFFER;
f->NewShaderStorageBuffer = ST_NEW_STORAGE_BUFFER;
+ f->NewImageUnits = ST_NEW_IMAGE_UNITS;
}
struct st_context *st_create_context(gl_api api, struct pipe_context *pipe,