fixup "PixelShaderGen: change the way to handle which constant is used"