OSDN Git Service

st_extensions: fixup GLSL 1.30 related enables (v3)
authorDave Airlie <airlied@redhat.com>
Thu, 5 Jan 2012 14:35:54 +0000 (14:35 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jan 2012 13:49:02 +0000 (13:49 +0000)
commitc62e02000d11e29e70a1000d32cb08d9a450485f
tree94e8593f117be36f09a6c2338561a016cd538ee7
parentcc94f0541c7729bca95f21b879c2071722ca3017
st_extensions: fixup GLSL 1.30 related enables (v3)

This just fixes up the enables for native integers and EXT_texture_integer
support in st/mesa.

It also set the MaxClipPlanes to 8.

We should consider exposing caps for MCP vs MCD, but since core
mesa doesn't care yet maybe we can wait for now.

v2: use 32-bit formats as per Marek's mail.

v3: add calim's fix for INT_DIV_TO_MUL_RCP disabling.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp