summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-05-26 19:56:48 -0700
committerKenneth Graunke <[email protected]>2016-06-14 16:09:57 -0700
commit8b408972ff5476f1e23ad24a329f89442e6df054 (patch)
tree914bbbca2bce730ad9f9afc7ee5fc841eb02eb35 /src/mesa/drivers/dri/i965
parent6ef50efc1079e544d7fe912aba219e8907cb0cbd (diff)
mesa: Pass gl_constant_value union into _mesa_fetch_state().
We've had some trouble in the past with copying integers around via float pointers, as the C compiler sometimes uses x87 floating point registers to load values on 32-bit systems. Passing the gl_constant_value union should be safer. To avoid churn, this patch creates a "GLfloat *value" variable so existing uses can stay the same. Not observed to fix anything, but I was in the area adding more integer state vars, and thought it'd be wise. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/drivers/dri/i965')
0 files changed, 0 insertions, 0 deletions