Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Add semantic checks for precision qualifiers | Chad Versace | 2011-01-17 | 1 | -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_specifier | Chad Versace | 2011-01-17 | 1 | -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::precision | Chad Versace | 2011-01-17 | 2 | -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 shader | Chad Versace | 2011-01-17 | 1 | -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 outs | Chad Versace | 2011-01-17 | 1 | -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 Versace | 2011-01-17 | 3 | -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 Versace | 2011-01-17 | 2 | -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 Paul | 2011-01-17 | 1 | -0/+1 |
| | | | | Fixes a VTK regression after adding GL_ARB_draw_instanced. | ||||
* | tnl: assert that num_instances > 0 | Brian Paul | 2011-01-17 | 1 | -0/+2 |
| | |||||
* | mesa: s/primcount/numInstances/ | Brian Paul | 2011-01-17 | 2 | -18/+18 |
| | | | | | primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things. | ||||
* | nouveau: fix build against out of tree libdrm | Dave Airlie | 2011-01-17 | 4 | -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 warning | Christian König | 2011-01-16 | 1 | -0/+1 |
| | |||||
* | r600g: fix alu inst group merging for relative adressing | Christian König | 2011-01-16 | 1 | -1/+13 |
| | |||||
* | nvc0: fix and enable instanced drawing and arrays | Christoph Bumiller | 2011-01-16 | 9 | -30/+91 |
| | |||||
* | d3d1x: Fix broken build. | Chia-I Wu | 2011-01-16 | 1 | -1/+6 |
| | | | | | st/egl native.h changed its interface in a22a332fc7cc54d4d0973dcd21a90159cc51de1a. | ||||
* | mesa: minor tweaks in _mesa_set_fetch_functions() | Brian Paul | 2011-01-15 | 1 | -3/+3 |
| | |||||
* | mesa: add comment for _mesa_get_srgb_format_linear() | Brian Paul | 2011-01-15 | 1 | -0/+5 |
| | |||||
* | mesa: move declarations before code | Brian Paul | 2011-01-15 | 1 | -1/+2 |
| | |||||
* | docs: add GL_EXT_texture_sRGB_decode to relnotes | Dave Airlie | 2011-01-16 | 1 | -0/+1 |
| | |||||
* | gallium: add EXT_texture_sRGB_decode. | Dave Airlie | 2011-01-16 | 2 | -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_decode | Dave Airlie | 2011-01-16 | 2 | -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_decode | Dave Airlie | 2011-01-16 | 8 | -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 handling | Christian König | 2011-01-16 | 2 | -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_blend | Brian Paul | 2011-01-15 | 2 | -1/+2 |
| | |||||
* | mesa: implement glGet queries for GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 1 | -0/+47 |
| | |||||
* | mesa: display list support for GL_ARB_draw_buffers_blend functions | Brian Paul | 2011-01-15 | 1 | -0/+108 |
| | |||||
* | mesa: plug in GL_ARB_draw_buffers_blend functions | Brian Paul | 2011-01-15 | 1 | -0/+6 |
| | |||||
* | glapi: regenerated files | Brian Paul | 2011-01-15 | 8 | -5210/+5461 |
| | |||||
* | glapi: new entrypoint specs for GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 3 | -0/+41 |
| | |||||
* | mesa: begin implementation of GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 31 | -364/+611 |
| | |||||
* | docs: update GL3.txt status | Brian Paul | 2011-01-15 | 1 | -2/+2 |
| | |||||
* | docs: document GL_ARB_instanced_arrays | Brian Paul | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | st/mesa: GL_ARB_instanced_arrays support | Brian Paul | 2011-01-15 | 2 | -3/+15 |
| | |||||
* | mesa: support for GL_ARB_instanced_arrays | Brian Paul | 2011-01-15 | 5 | -3/+73 |
| | |||||
* | glapi: regenerated files | Brian Paul | 2011-01-15 | 14 | -5955/+6046 |
| | |||||
* | glapi: GL_ARB_instanced_arrays support | Brian Paul | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | draw: add missing LP_CHECK_MEMBER_OFFSET() | Brian Paul | 2011-01-15 | 1 | -0/+2 |
| | |||||
* | st/mesa: move/consolidate an assignment | Brian Paul | 2011-01-15 | 1 | -2/+1 |
| | |||||
* | docs: document GL_ARB_draw_instanced | Brian Paul | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | r600g: Remove the redundant radeon_new() prototype. | Henri Verbeet | 2011-01-15 | 1 | -2/+0 |
| | |||||
* | r600g: Fix some register value name typos. | Henri Verbeet | 2011-01-15 | 4 | -6/+6 |
| | | | | SFR -> SRF. | ||||
* | r600g: Get rid of r600_translate_vertex_data_type(). | Henri Verbeet | 2011-01-15 | 2 | -270/+0 |
| | | | | This has been replaced with r600_vertex_data_type(). | ||||
* | Merge branch 'draw-instanced' | Brian Paul | 2011-01-15 | 33 | -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 drivers | Brian Paul | 2010-12-10 | 1 | -0/+1 |
| | | |||||
| * | tnl: implement instanced drawing | Brian Paul | 2010-12-10 | 3 | -9/+19 |
| | | |||||
| * | mesa: implement system values in program interpreter | Brian Paul | 2010-12-10 | 2 | -0/+5 |
| | | |||||
| * | llvmpipe: enable instanced drawing cap | Brian Paul | 2010-12-08 | 1 | -0/+2 |
| | | |||||
| * | softpipe: enable instanced drawing cap | Brian Paul | 2010-12-08 | 1 | -0/+2 |
| | | |||||
| * | gallivm/llvmpipe: implement system values and instanceID | Brian Paul | 2010-12-08 | 4 | -5/+98 |
| | | |||||
| * | st/mesa: translate shader system inputs | Brian Paul | 2010-12-08 | 1 | -0/+27 |
| | |