summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-01-17glsl: Add semantic checks for precision qualifiersChad Versace
* 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
2011-01-17glsl: Fix parser rule for type_specifierChad Versace
Do not assign a value to ast_type_specifier::precision when no precision qualifier is present.
2011-01-17glsl: Change default value of ast_type_specifier::precisionChad Versace
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.
2011-01-17glsl: Check that 'centroid in' does not occur in vertex shaderChad Versace
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
2011-01-17glsl: Check that interpolation quals only apply to vertex ins and fragment outsChad Versace
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
2011-01-17glsl: Check that interpolation qualifiers do not precede 'varying'Chad Versace
... 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.
2011-01-17glsl: Add method ast_type_qualifier::interpolation_string()Chad Versace
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".
2011-01-17vbo: init num_instances in split_prims()Brian Paul
Fixes a VTK regression after adding GL_ARB_draw_instanced.
2011-01-17tnl: assert that num_instances > 0Brian Paul
2011-01-17mesa: s/primcount/numInstances/Brian Paul
primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things.
2011-01-17nouveau: fix build against out of tree libdrmDave Airlie
For doing builds against a separated libdrm these cflags are needed. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-16r600g: fix PIPE_CAP_INSTANCED_DRAWING warningChristian König
2011-01-16r600g: fix alu inst group merging for relative adressingChristian König
2011-01-16nvc0: fix and enable instanced drawing and arraysChristoph Bumiller
2011-01-16d3d1x: Fix broken build.Chia-I Wu
st/egl native.h changed its interface in a22a332fc7cc54d4d0973dcd21a90159cc51de1a.
2011-01-15mesa: minor tweaks in _mesa_set_fetch_functions()Brian Paul
2011-01-15mesa: add comment for _mesa_get_srgb_format_linear()Brian Paul
2011-01-15mesa: move declarations before codeBrian Paul
2011-01-16gallium: add EXT_texture_sRGB_decode.Dave Airlie
This uses a sampler view to access the texture with the alternate format. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-16i965: add support for EXT_texture_sRGB_decodeDave Airlie
We just choose the texture format depending on the srgb decode bit for the sRGB formats. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-16mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie
This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-16r600d: fix some bugs added reworking literal handlingChristian König
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.
2011-01-15mesa: implement glGet queries for GL_ARB_draw_buffers_blendBrian Paul
2011-01-15mesa: display list support for GL_ARB_draw_buffers_blend functionsBrian Paul
2011-01-15mesa: plug in GL_ARB_draw_buffers_blend functionsBrian Paul
2011-01-15glapi: regenerated filesBrian Paul
2011-01-15glapi: new entrypoint specs for GL_ARB_draw_buffers_blendBrian Paul
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul
2011-01-15st/mesa: GL_ARB_instanced_arrays supportBrian Paul
2011-01-15mesa: support for GL_ARB_instanced_arraysBrian Paul
2011-01-15glapi: regenerated filesBrian Paul
2011-01-15glapi: GL_ARB_instanced_arrays supportBrian Paul
2011-01-15draw: add missing LP_CHECK_MEMBER_OFFSET()Brian Paul
2011-01-15st/mesa: move/consolidate an assignmentBrian Paul
2011-01-15r600g: Remove the redundant radeon_new() prototype.Henri Verbeet
2011-01-15r600g: Fix some register value name typos.Henri Verbeet
SFR -> SRF.
2011-01-15r600g: Get rid of r600_translate_vertex_data_type().Henri Verbeet
This has been replaced with r600_vertex_data_type().
2011-01-15Merge branch 'draw-instanced'Brian Paul
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
2011-01-15nvc0: try to swap immediates to first source tooChristoph Bumiller
2011-01-15nvc0: make sure all sources of the BIND op are distinctChristoph Bumiller
They're supposed to be assigned consecutive registers so they can't contain the same SSA value more than once.
2011-01-15nvc0: update user vbufs on each draw callChristoph Bumiller
This is required in case set_vertex_buffers is not called again.
2011-01-15nvc0: enable early fragment tests where possibleChristoph Bumiller
2011-01-15nvc0: upload small buffers through the command bufferChristoph Bumiller
2011-01-15mesa: Add glDepthRangef and glClearDepthf to APIspec.xml.Chia-I Wu
Core mesa has gained support for GL_ARB_ES2_compatibility. Make GLES generated dispatch table use them.
2011-01-15targets/egl-static: Assorted cleanups and fixes.Chia-I Wu
Share more code between windows and non-windows platforms. Check env['x11'] for X11 and add env['X11_LIBS'] to LIBS. Add ws_wrapper for i965g.
2011-01-15targets/egl: i965 needs libwsw.Chia-I Wu
Fix undefined symbol wrapper_sw_winsys_dewrap_pipe_screen.
2011-01-14mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.Eric Anholt
Fixes piglit arb_es2_compatibility-shadercompiler
2011-01-14mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.Eric Anholt
Fixes piglit arb_es2_compatibility-maxvectors.
2011-01-14mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt
These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
2011-01-14ir_to_mesa: Fix segfaults on ir_to_mesa invocation after MSVC change.Eric Anholt