summaryrefslogtreecommitdiffstats
path: root/doxygen/swrast_setup.doxy
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-08-02 13:06:45 -0700
committerIan Romanick <[email protected]>2012-12-06 12:13:21 -0800
commit2152df51c0c8546b003f187f2af3ad51df8a41a1 (patch)
treeccd4acaaa7d59097c472d888ef5a2796d0b5375d /doxygen/swrast_setup.doxy
parentd4a24745b84be49b0ede285ef795847ebca70916 (diff)
glsl/preprocessor: Extract version directive processing into a function.
Version directive handling is going to have to be used within two parser rules, one for desktop-style version directives (e.g. "#version 130") and one for the new ES-style version directive (e.g. "#version 300 es"), so this patch moves it to a function that can be called from both rules. No functional change. [mattst88] v2: Use intmax_t instead of int for version argument. Would otherwise write garbage after #version since PRIiMAX was reading 64-bits instead of 32. [idr] v3: A later commit fixes the caller of _glcpp_parser_handle_version_declaration to pass the correct number of parameters. Fix it in the patch that changes the interface instead. Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Carl Worth <[email protected]>
Diffstat (limited to 'doxygen/swrast_setup.doxy')
0 files changed, 0 insertions, 0 deletions