Module Name: xsrc Committed By: apb Date: Fri Nov 2 12:30:01 UTC 2012
Modified Files: xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i965: brw_wm_glsl.c xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965: brw_wm_glsl.c Log Message: subroutine is a variable of an enum type. BRW_WM_MAX_SUBROUTINE is a #define'd constant which is known at compile time to be larger than the maximum possible value of the enum. Cast these values to (int) in an assert(), to avoid a warning from clang -Wtautological-constant-out-of-range-compare. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i965/brw_wm_glsl.c cvs rdiff -u -r1.1.1.3 -r1.2 \ xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_wm_glsl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.