Find a file
Brian Paul 8fb1e4a462 glsl: be more careful about counting varying vars in the linker
Previously, we were counting gl_FrontFacing, gl_FragCoord and gl_PointCoord
against the limit of varying variables.  This prevented some valid shaders
from linking.

The other potential solution to this is to have the driver advertise
more varying vars or set the GLSLSkipStrictMaxVaryingLimitCheck flag.
But the above-mentioned variables aren't conventional varying attributes
so it doesn't seem right to count them.

Reviewed-by: Eric Anholt <eric@anholt.net>
2012-06-27 11:31:16 -06:00
bin mesa: remove obsolete confdiff.sh 2012-06-20 01:51:38 -07:00
configs dricore: Turn it into a normal library. 2012-06-21 10:10:46 -07:00
docs docs/helpwanted: add some useful todo lists 2012-06-27 11:19:21 -06:00
doxygen doxygen: Add link to the gbm documentation to the header 2012-01-13 09:31:24 -05:00
include mesa: update glext.h to version 81 2012-06-27 07:50:57 -06:00
scons scons: Do not build svga if using Solaris Studio C compiler. 2012-06-18 16:37:46 -07:00
src glsl: be more careful about counting varying vars in the linker 2012-06-27 11:31:16 -06:00
.dir-locals.el mesa: update the emacs indent files 2012-06-21 17:29:11 -04:00
.gitattributes Disable autocrlf for Visual Studio project files. 2008-02-28 12:34:01 +09:00
.gitignore automake: Move top-level makefile to automake. 2012-06-11 09:28:00 -07:00
acinclude.m4 autoconf: Attempt to figure out the PIC flags for the platform 2008-05-09 07:05:16 -07:00
Android.common.mk android: pass -std=c99 by default 2011-11-26 11:42:08 +08:00
Android.mk radeonsi: initial WIP SI code 2012-04-13 10:32:06 -04:00
autogen.sh autogen.sh: Honor NOCONFIGURE environment variable 2011-09-19 19:53:49 +01:00
common.py scons: Fix SCons build infrastructure for FreeBSD. 2012-05-24 18:49:40 -07:00
configure.ac clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR 2012-06-22 16:59:24 -04:00
Makefile.am automake: Directly generate configs/current instead of symlinking from it. 2012-06-21 10:07:38 -07:00
SConstruct scons: Disable saving options automatically. 2011-07-01 19:04:57 +01:00

File: docs/README.WIN32

Last updated: 23 April 2011


Quick Start
----- -----

Windows drivers are build with SCons.  Makefiles or Visual Studio projects are
no longer shipped or supported.

Run

  scons osmesa mesagdi

to build classic mesa Windows GDI drivers; or

  scons libgl-gdi

to build gallium based GDI driver.

This will work both with MSVS or Mingw.


Windows Drivers
------- -------

At this time, only the gallium GDI driver is known to work.

Source code also exists in the tree for other drivers in
src/mesa/drivers/windows, but the status of this code is unknown.


General
-------

After building, you can copy the above DLL files to a place in your
PATH such as $SystemRoot/SYSTEM32.  If you don't like putting things
in a system directory, place them in the same directory as the
executable(s).  Be careful about accidentially overwriting files of
the same name in the SYSTEM32 directory.

The DLL files are built so that the external entry points use the
stdcall calling convention.

Static LIB files are not built.  The LIB files that are built with are
the linker import files associated with the DLL files.

The si-glu sources are used to build the GLU libs.  This was done
mainly to get the better tessellator code.

If you have a Windows-related build problem or question, please post
to the mesa-dev or mesa-users list.