summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2013-10-16 17:22:18 -0700
committerAnuj Phogat <[email protected]>2013-11-01 16:01:48 -0700
commit627b2692e916060f1cb72d5e254b63927961687d (patch)
tree44bd1a1aecc75eff2f4d2e2361d173a589d2dc0b /common.py
parente849511c781672487aec416708abd1166b3b4983 (diff)
mesa: Add a helper function _mesa_get_min_invocations_per_fragment()
This function is used to test if we need to do per sample shading or per fragment shading. V2: Use MAX2() to make sure the function returns a number >= 1. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions