OSDN Git Service

main: fix ACTIVE_UNIFORM_BLOCKS value
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 11 Sep 2015 08:02:56 +0000 (10:02 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 29 Sep 2015 08:03:47 +0000 (10:03 +0200)
commit38004eb17ce9663a4343bae4e783e97e73596e9c
tree413951ae8a39e67f22ad1b3a1f7a09623ba41831
parent589249a792a1db04a3cb41a8e319dabacf3e6123
main: fix ACTIVE_UNIFORM_BLOCKS value

NumUniformBlocks also counts shader storage blocks.
NumUniformBlocks variable will be renamed in a later patch to avoid
misunderstandings.

v2:

- Modify the condition to use !IsShaderStorage and the list of
  uniform blocks (Timothy)

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/mesa/main/shaderapi.c