summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.sources
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-08-18 15:48:13 -0600
committerBrian Paul <[email protected]>2017-08-21 19:04:51 -0600
commit19e9bd4c117f9f38f4fdec0467a57f0e29e5c0f3 (patch)
treef032bdb79bc1eba94540a7ec9efa32a2cf15a9c0 /src/mesa/Makefile.sources
parent0ef5aa4128940f6d60f3442b1cfcbdb8f3614c8e (diff)
mesa: optimize _mesa_attr_zero_aliases_vertex()
After the context is initialized, the API and context flags won't change. So, we can compute whether vertex attribute 0 aliases vertex position just once. This should make the glVertexAttrib*() functions a little quicker. Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.sources')
0 files changed, 0 insertions, 0 deletions