Lines Matching refs:GLshort
95 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
96 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
97 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
98 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
102 GLshort *row = (GLshort *) accMap; in _mesa_clear_accum_buffer()
151 const GLshort incr = (GLshort) (value * 32767.0f); in accum_scale_or_bias()
155 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
165 GLshort *acc = (GLshort *) accMap; in accum_scale_or_bias()
167 acc[i] = (GLshort) (acc[i] * value); in accum_scale_or_bias()
238 GLshort *acc = (GLshort *) accMap; in accum_or_load()
245 acc[i * 4 + 0] = (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
246 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
247 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
248 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
254 acc[i * 4 + 0] += (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
255 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
256 acc[i * 4 + 2] += (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
257 acc[i * 4 + 3] += (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
333 GLshort *acc = (GLshort *) accMap; in accum_return()