program: Use _mesa_geometric_samples to calculate gl_NumSamples
authorNeil Roberts <neil@linux.intel.com>
Thu, 4 Feb 2016 16:12:06 +0000 (16:12 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 5 Feb 2016 11:05:06 +0000 (11:05 +0000)
commit5fd848f6c9ee86b3d0e024cfa6255cd2d721462f
tree7104339042bc7abd4f143021cb7eb0843a7fc139
parent4995d9c9a028876550e3da7ff24045f8bec2dcf6
program: Use _mesa_geometric_samples to calculate gl_NumSamples

Otherwise it won't take into account the default samples for
framebuffers with no attachments.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/program/prog_statevars.c