summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-04-18 18:54:14 +0200
committerSamuel Pitoiset <[email protected]>2016-04-26 19:47:49 +0200
commita0e777f6a12515cfadf8050eb63dfe24f84347b5 (patch)
tree123524df76ff0959e0e44760f887304d11a16cd0 /src/gallium
parent2daaa5d657910239833dc796dc1ac6f4b168e3df (diff)
nvc0: enable ARB_shader_image_load_store on GK110
This exposes 8 images for all shader types. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index b0456f34210..7fa81ae00af 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -382,7 +382,7 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
return 32;
case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
- if (class_3d == NVE4_3D_CLASS)
+ if (class_3d == NVE4_3D_CLASS || class_3d == NVF0_3D_CLASS)
return NVC0_MAX_IMAGES;
return 0;
default: