Re: [Mesa-dev] Patches to make Gallium drivers respect the force_s3tc_enable environment variable
On Mit, 2011-07-20 at 17:53 -0500, Bryan Cain wrote: The purpose of the following two patches is to make st/mesa expose the S3TC extensions when the force_s3tc_enable environment variable is used. This is to match the behavior of the DRI drivers, in which force_s3tc_enable is an option in driconf. Although st/mesa can't use the driconf functions, it can at least respect the environment variable for this option. This may be adeuqate for now, but in the long term it would be better to properly hook up driconf, so e.g. this could be set on a per-app basis in ~/.drirc or /etc/drirc. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Patches to make Gallium drivers respect the force_s3tc_enable environment variable
On 07/20/2011 04:53 PM, Bryan Cain wrote: The purpose of the following two patches is to make st/mesa expose the S3TC extensions when the force_s3tc_enable environment variable is used. This is to match the behavior of the DRI drivers, in which force_s3tc_enable is an option in driconf. Although st/mesa can't use the driconf functions, it can at least respect the environment variable for this option. These patches have been tested with fs2_open 3.6.12 and the Freespace 2 MediaVPs. Setting force_s3tc_enable=true makes the game run flawlessly without libtxc_dxtn, whereas without it the game writes several error messages to its log file and then crashes. Which driver(s) did you test this with? I'm wondering if we could just add the force-enable code down in the util/format code and let it percolate up to the state tracker. I haven't looked at this in detail yet. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] Patches to make Gallium drivers respect the force_s3tc_enable environment variable
The purpose of the following two patches is to make st/mesa expose the S3TC extensions when the force_s3tc_enable environment variable is used. This is to match the behavior of the DRI drivers, in which force_s3tc_enable is an option in driconf. Although st/mesa can't use the driconf functions, it can at least respect the environment variable for this option. These patches have been tested with fs2_open 3.6.12 and the Freespace 2 MediaVPs. Setting force_s3tc_enable=true makes the game run flawlessly without libtxc_dxtn, whereas without it the game writes several error messages to its log file and then crashes. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev