summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_noise.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-07-14 08:09:21 -0600
committerBrian Paul <[email protected]>2011-07-14 08:09:38 -0600
commit323e4bff799a657632c5777c8be6e306202953af (patch)
treea6003e6d3624241d9c8fc301863539069cb0283f /src/mesa/program/prog_noise.h
parent8619aa5683eb16c12a1b2eaeab2378855791ec8c (diff)
mesa: split _mesa_reference_program() into hot/cold paths.
inline the hotpath of the reference remaining the same. This shouldn't penalise the slow path at all but improve the hot path so we don't have to jump to the function. It also moves some assert checks under an #ifndef NDEBUG. Minor clean-ups added by Brian. Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_noise.h')
0 files changed, 0 insertions, 0 deletions