projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1edbe01
)
st/mesa: count shader images in MaxCombinedShaderOutputResources
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 16 Feb 2016 03:00:04 +0000
(22:00 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 16 Feb 2016 03:22:34 +0000
(22:22 -0500)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 57eeed66639a938384c51b9edbd1b2d776c557f6..9077added7c1e4556182fad99185f683e1d140f1 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-382,6
+382,7
@@
void st_init_limits(struct pipe_screen *screen,
c->Program[MESA_SHADER_GEOMETRY].MaxImageUniforms +
c->Program[MESA_SHADER_FRAGMENT].MaxImageUniforms +
c->Program[MESA_SHADER_COMPUTE].MaxImageUniforms;
+ c->MaxCombinedShaderOutputResources += c->MaxCombinedImageUniforms;
c->MaxImageUnits = MAX_IMAGE_UNITS;
c->MaxImageSamples = 0; /* XXX */
if (c->MaxCombinedImageUniforms) {