[Mesa-dev] [PATCH v2 4/7] dri/radeon: Don't emit saturate for vertex shaders
Ian Romanick
idr at freedesktop.org
Wed Dec 3 15:03:28 PST 2014
On 12/01/2014 05:47 AM, Abdiel Janulgue wrote:
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> ---
> src/mesa/drivers/dri/r200/r200_context.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c
> index 931f437..8533123 100644
> --- a/src/mesa/drivers/dri/r200/r200_context.c
> +++ b/src/mesa/drivers/dri/r200/r200_context.c
> @@ -368,6 +368,8 @@ GLboolean r200CreateContext( gl_api api,
> ctx->Extensions.NV_texture_rectangle = true;
> ctx->Extensions.OES_EGL_image = true;
>
> + ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitNoSat = true;
> +
r200 doesn't enable GLSL, so this is not needed.
> if (!(rmesa->radeon.radeonScreen->chip_flags & R200_CHIPSET_YCBCR_BROKEN)) {
> /* yuv textures don't work with some chips - R200 / rv280 okay so far
> others get the bit ordering right but don't actually do YUV-RGB conversion */
>
More information about the mesa-dev
mailing list