mesa: don't enable NV_fragment_program_option with swrast
authorRoland Scheidegger <sroland@vmware.com>
Sat, 14 Feb 2015 15:34:04 +0000 (16:34 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 21 Feb 2015 00:23:00 +0000 (01:23 +0100)
Since dropping some NV_fragment_program opcodes (commits
868f95f1da74cf6dd7468cba1b56664aad585ccba3688d686f147f4252d19b298ae26d4ac72c2e08)
we can no longer parse all opcodes necessary for this extension, leading
to bugs (https://bugs.freedesktop.org/show_bug.cgi?id=86980).
Hence don't announce support for it in swrast (no other driver enabled it).
(Note that remnants of some NV_fp/vp extensions remain, they could be
dropped but are required as hacks for getting viewperf11 catia to run.)

src/mesa/main/extensions.c

index 6951a0c70f302026d967b6a7762d4f4c72260400..f21201538701722879c81f249b1fddf39c2ea645 100644 (file)
@@ -515,7 +515,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
    ctx->Extensions.NV_point_sprite = GL_TRUE;
    ctx->Extensions.NV_texture_env_combine4 = GL_TRUE;
    ctx->Extensions.NV_texture_rectangle = GL_TRUE;
-   ctx->Extensions.NV_fragment_program_option = GL_TRUE;
    ctx->Extensions.EXT_gpu_program_parameters = GL_TRUE;
    ctx->Extensions.OES_standard_derivatives = GL_TRUE;
    ctx->Extensions.TDFX_texture_compression_FXT1 = GL_TRUE;