summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: increase max texture image units and GLSL samplers to 16Brian Paul2008-12-311-26/+27
| | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
* mesa: increase max constants/uniforms to 256 (vec4 vectors)Brian Paul2008-12-301-2/+2
|
* mesa: add gl_program::Input/OutputFlags[] arrayBrian Paul2008-11-241-0/+2
| | | | | These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
* mesa: comments about vectors vs componentsBrian Paul2008-09-211-2/+2
|
* mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell2008-09-211-35/+4
| | | | | | | | | | | | | Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
* mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul2008-07-291-0/+1
| | | | Plus, fix some issues with pre-defined preprocessor symbols and version checking.
* Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul2008-05-141-0/+1
| | | | | | | | | | Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
* New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-291-1/+1
| | | | t_vb_program.c
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger2007-11-091-19/+20
| | | | these should be the same functions (as per spec).
* increase MAX_POINT_SIZE to 60Brian2007-06-281-1/+1
|
* remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITSBrian2007-06-081-6/+3
|
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-0/+3
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* enable GLSL 1.20Brian2007-04-081-0/+1
|
* Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian2007-03-111-1/+1
| | | | | | GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
* define and use MAX_PROGRAM_ADDRESS_REGSBrian2007-02-251-0/+1
|
* added MAX_PROGRAM_ENV_PARAMSBrian2007-02-221-0/+1
|
* Lots of assorted changes for new GLSL compiler backend.Brian2006-12-151-7/+3
| | | | New datatypes, constants, variables.
* Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul2006-11-161-0/+1
| | | | programs.
* replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul2006-11-031-4/+4
|
* According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul2006-08-241-1/+1
| | | | Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
* sort the FEATURE_ definesBrian Paul2006-08-171-12/+14
|
* added FEATURE_EXT_timer_query and testsBrian Paul2006-08-171-0/+1
|
* Initial work for GL_EXT_texture_sRGB.Brian Paul2006-08-031-1/+2
|
* Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul2006-04-131-1/+5
| | | | | | | | See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants.
* Define MAX_VERTEX_ATTRIBS to 16.Michal Krol2006-04-041-2/+3
|
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-081-0/+1
|
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-011-1/+1
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* Remove ACCUM_BITS.Brian Paul2005-09-211-4/+0
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-4/+0
|
* strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing theAdam Jackson2005-07-161-5/+0
| | | | modular X build
* Remove NEW_RENDERBUFFER stuff.Brian Paul2005-07-011-3/+2
| | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
* set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul2005-06-041-1/+1
| | | | removing that
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-4/+9
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell2005-04-221-2/+2
|
* remove carriage returnsBrian Paul2005-04-151-14/+14
|
* add FEATURE_ARB_shading_language_100;Michal Krol2005-04-141-5/+15
| | | | | remove FEATURE_shading_language; add ARB_fragment/vertex_shader max values
* Use FEATURE_shading_language to control whether the shading languageBrian Paul2005-04-011-0/+4
| | | | | compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
* additional work on GL_EXT_framebuffer_objectBrian Paul2005-02-071-0/+6
|
* Some initial work on GL_EXT_framebuffer_object.Brian Paul2005-02-051-1/+1
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+1
| | | | no error detection, slow, may not be 100% correct but a good start
* add FEATURE flags for ARB_shader_objects, ARB_vertex_shader andMichal Krol2004-10-271-0/+3
| | | | ARB_fragment_shader
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-0/+15
|
* Update the doxygen configuration file.Jose Fonseca2004-09-091-2/+0
| | | | Minor updates/fixes to the source documentation.
* minor doxygen updatesBrian Paul2004-05-141-0/+3
|
* increase MAX_TEXTURE_LOD_BIAS to 11.0Brian Paul2004-03-261-2/+2
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-2/+2
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-0/+1
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul2004-02-171-9/+24
| | | | instead of GLfixed. (Justin Novosad)
* bump MAX_WIDTH/HEIGHT to 4K pixelsBrian Paul2004-01-141-4/+4
|
* added support for generic vertex attributes (ARB_vp) and their error checkingKarl Rasche2003-11-251-0/+1
|