summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add semantic checks for precision qualifiersChad Versace2011-01-171-0/+33
| | | | | | | | | | | * Check that precision qualifiers only appear in language versions 1.00, 1.30, and later. * Check that precision qualifiers do not apply to bools and structs. Fixes the following Piglit tests: * spec/glsl-1.30/precision-qualifiers/precision-bool-01.frag * spec/glsl-1.30/precision-qualifiers/precision-struct-01.frag * spec/glsl-1.30/precision-qualifiers/precision-struct-02.frag
* glsl: Fix parser rule for type_specifierChad Versace2011-01-171-0/+3
| | | | | Do not assign a value to ast_type_specifier::precision when no precision qualifier is present.
* glsl: Change default value of ast_type_specifier::precisionChad Versace2011-01-172-4/+5
| | | | | | | | Change default value to ast_precision_none, which denotes the absence of a precision of a qualifier. Previously, the default value was ast_precision_high. This made it impossible to detect if a precision qualifier was present or not.
* glsl: Check that 'centroid in' does not occur in vertex shaderChad Versace2011-01-171-0/+13
| | | | | | | | | | The check is performed only in GLSL versions >= 1.30. From section 4.3.4 of the GLSL 1.30 spec: "It is an error to use centroid in in a vertex shader." Fixes Piglit test spec/glsl-1.30/compiler/storage-qualifiers/vs-centroid-in-01.vert
* glsl: Check that interpolation quals only apply to vertex ins and fragment outsChad Versace2011-01-171-0/+35
| | | | | | | | The check is performed only in GLSL versions >= 1.30. Fixes the following Piglit tests: * spec/glsl-1.30/compiler/interpolation-qualifiers/fs-smooth-02.frag * spec/glsl-1.30/compiler/interpolation-qualifiers/vs-smooth-01.vert
* glsl: Check that interpolation qualifiers do not precede 'varying'Chad Versace2011-01-173-0/+38
| | | | | | | | | | | | | ... and 'centroid varying'. The check is performed only in GLSL versions >= 1.30. From page 29 (page 35 of the PDF) of the GLSL 1.30 spec: "interpolation qualifiers may only precede the qualifiers in, centroid in, out, or centroid out in a declaration. They do not apply to the deprecated storage qualifiers varying or centroid varying." Fixes Piglit test spec/glsl-1.30/compiler/interpolation-qualifiers/smooth-varying-01.frag.
* glsl: Add method ast_type_qualifier::interpolation_string()Chad Versace2011-01-172-0/+25
| | | | | | If an interpolation qualifier is present, then the method returns that qualifier's string representation. For example, if the noperspective bit is set, then it returns "noperspective".
* vbo: init num_instances in split_prims()Brian Paul2011-01-171-0/+1
| | | | Fixes a VTK regression after adding GL_ARB_draw_instanced.
* tnl: assert that num_instances > 0Brian Paul2011-01-171-0/+2
|
* mesa: s/primcount/numInstances/Brian Paul2011-01-172-18/+18
| | | | | primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things.
* nouveau: fix build against out of tree libdrmDave Airlie2011-01-174-0/+8
| | | | | | For doing builds against a separated libdrm these cflags are needed. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix PIPE_CAP_INSTANCED_DRAWING warningChristian König2011-01-161-0/+1
|
* r600g: fix alu inst group merging for relative adressingChristian König2011-01-161-1/+13
|
* nvc0: fix and enable instanced drawing and arraysChristoph Bumiller2011-01-169-30/+91
|
* d3d1x: Fix broken build.Chia-I Wu2011-01-161-1/+6
| | | | | st/egl native.h changed its interface in a22a332fc7cc54d4d0973dcd21a90159cc51de1a.
* mesa: minor tweaks in _mesa_set_fetch_functions()Brian Paul2011-01-151-3/+3
|
* mesa: add comment for _mesa_get_srgb_format_linear()Brian Paul2011-01-151-0/+5
|
* mesa: move declarations before codeBrian Paul2011-01-151-1/+2
|
* docs: add GL_EXT_texture_sRGB_decode to relnotesDave Airlie2011-01-161-0/+1
|
* gallium: add EXT_texture_sRGB_decode.Dave Airlie2011-01-162-0/+5
| | | | | | This uses a sampler view to access the texture with the alternate format. Signed-off-by: Dave Airlie <[email protected]>
* i965: add support for EXT_texture_sRGB_decodeDave Airlie2011-01-162-3/+12
| | | | | | | We just choose the texture format depending on the srgb decode bit for the sRGB formats. Signed-off-by: Dave Airlie <[email protected]>
* mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie2011-01-168-2/+88
| | | | | | | This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <[email protected]>
* r600d: fix some bugs added reworking literal handlingChristian König2011-01-162-22/+33
| | | | | | | | If a literal slot isn't used it should be set to 0 instead of an uninitialized value. Also the channels for pre R700 trig functions were incorrect. And most important literals were not counted against ndw, resulting in an invalid force_add_cf detection.
* docs: document GL_ARB_draw_buffers_blendBrian Paul2011-01-152-1/+2
|
* mesa: implement glGet queries for GL_ARB_draw_buffers_blendBrian Paul2011-01-151-0/+47
|
* mesa: display list support for GL_ARB_draw_buffers_blend functionsBrian Paul2011-01-151-0/+108
|
* mesa: plug in GL_ARB_draw_buffers_blend functionsBrian Paul2011-01-151-0/+6
|
* glapi: regenerated filesBrian Paul2011-01-158-5210/+5461
|
* glapi: new entrypoint specs for GL_ARB_draw_buffers_blendBrian Paul2011-01-153-0/+41
|
* mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul2011-01-1531-364/+611
|
* docs: update GL3.txt statusBrian Paul2011-01-151-2/+2
|
* docs: document GL_ARB_instanced_arraysBrian Paul2011-01-151-0/+1
|
* st/mesa: GL_ARB_instanced_arrays supportBrian Paul2011-01-152-3/+15
|
* mesa: support for GL_ARB_instanced_arraysBrian Paul2011-01-155-3/+73
|
* glapi: regenerated filesBrian Paul2011-01-1514-5955/+6046
|
* glapi: GL_ARB_instanced_arrays supportBrian Paul2011-01-151-0/+1
|
* draw: add missing LP_CHECK_MEMBER_OFFSET()Brian Paul2011-01-151-0/+2
|
* st/mesa: move/consolidate an assignmentBrian Paul2011-01-151-2/+1
|
* docs: document GL_ARB_draw_instancedBrian Paul2011-01-151-0/+1
|
* r600g: Remove the redundant radeon_new() prototype.Henri Verbeet2011-01-151-2/+0
|
* r600g: Fix some register value name typos.Henri Verbeet2011-01-154-6/+6
| | | | SFR -> SRF.
* r600g: Get rid of r600_translate_vertex_data_type().Henri Verbeet2011-01-152-270/+0
| | | | This has been replaced with r600_vertex_data_type().
* Merge branch 'draw-instanced'Brian Paul2011-01-1533-23/+347
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
| * mesa: enable GL_ARB_draw_instanced for software driversBrian Paul2010-12-101-0/+1
| |
| * tnl: implement instanced drawingBrian Paul2010-12-103-9/+19
| |
| * mesa: implement system values in program interpreterBrian Paul2010-12-102-0/+5
| |
| * llvmpipe: enable instanced drawing capBrian Paul2010-12-081-0/+2
| |
| * softpipe: enable instanced drawing capBrian Paul2010-12-081-0/+2
| |
| * gallivm/llvmpipe: implement system values and instanceIDBrian Paul2010-12-084-5/+98
| |
| * st/mesa: translate shader system inputsBrian Paul2010-12-081-0/+27
| |