summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-04-25 17:12:50 -0600
committerBrian Paul <[email protected]>2016-04-27 08:43:33 -0600
commit43f46caf769b0a6d661850ce2fa64b6f4b085b9f (patch)
tree7fdcbc59b712a86e06f761dbd1886b29a313ea2a /CleanSpec.mk
parentb5e7907f3089d72109610769f083e80e452b0ff2 (diff)
svga: use the SVGA3D_DEVCAP_MAX_FRAGMENT_SHADER_INSTRUCTIONS query
Instead of a hard-coded 512. The query typically returns 65536 now. Fall back to 512 if the query fails as we do for vertex shaders (which should never happen). Note that we don't actually enforce this limit in our shaders but it gets reported via the glGetProgramivARB(GL_MAX_PROGRAM_INSTRUCTIONS_ARB) query. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions