summaryrefslogtreecommitdiff
path: root/src/mesa/main/config.h
AgeCommit message (Collapse)Author
2008-12-31mesa: increase max texture image units and GLSL samplers to 16Brian Paul
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.
2008-12-30mesa: increase max constants/uniforms to 256 (vec4 vectors)Brian Paul
2008-11-24mesa: add gl_program::Input/OutputFlags[] arrayBrian Paul
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
2008-09-21mesa: comments about vectors vs componentsBrian Paul
2008-09-21mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell
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
2008-07-29mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
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
2007-11-29New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian
t_vb_program.c
2007-11-09alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger
these should be the same functions (as per spec).
2007-06-28increase MAX_POINT_SIZE to 60Brian
2007-06-08remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITSBrian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-04-08enable GLSL 1.20Brian
2007-03-11Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian
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.
2007-02-25define and use MAX_PROGRAM_ADDRESS_REGSBrian
2007-02-22added MAX_PROGRAM_ENV_PARAMSBrian
2006-12-15Lots of assorted changes for new GLSL compiler backend.Brian
New datatypes, constants, variables.
2006-11-16Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul
programs.
2006-11-03replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul
2006-08-24According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
2006-08-17sort the FEATURE_ definesBrian Paul
2006-08-17added FEATURE_EXT_timer_query and testsBrian Paul
2006-08-03Initial work for GL_EXT_texture_sRGB.Brian Paul
2006-04-13Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul
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.
2006-04-04Define MAX_VERTEX_ATTRIBS to 16.Michal Krol
2005-11-08some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul
2005-11-01Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul
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.
2005-09-21Remove ACCUM_BITS.Brian Paul
2005-09-03Remove last remnants of pre-renderbuffer code.Brian Paul
2005-07-16strip out vestigial #ifdef HAVE_CONFIG_H stanzas, they're confusing theAdam Jackson
modular X build
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-06-04set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul
removing that
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-04-22Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.Keith Whitwell
2005-04-15remove carriage returnsBrian Paul
2005-04-14add FEATURE_ARB_shading_language_100;Michal Krol
remove FEATURE_shading_language; add ARB_fragment/vertex_shader max values
2005-04-01Use FEATURE_shading_language to control whether the shading languageBrian Paul
compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
2005-02-07additional work on GL_EXT_framebuffer_objectBrian Paul
2005-02-05Some initial work on GL_EXT_framebuffer_object.Brian Paul
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-10-27add FEATURE flags for ARB_shader_objects, ARB_vertex_shader andMichal Krol
ARB_fragment_shader
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-09-09Update the doxygen configuration file.Jose Fonseca
Minor updates/fixes to the source documentation.
2004-05-14minor doxygen updatesBrian Paul
2004-03-26increase MAX_TEXTURE_LOD_BIAS to 11.0Brian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-17Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul
instead of GLfixed. (Justin Novosad)
2004-01-14bump MAX_WIDTH/HEIGHT to 4K pixelsBrian Paul
2003-11-25added support for generic vertex attributes (ARB_vp) and their error checkingKarl Rasche