Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-08 | slang: fix typos | Zack Rusin | |
2010-07-08 | slang: add some comments related to geometry shaders | Zack Rusin | |
2010-07-08 | gs: inject const int gl_VerticesIn at link time | Zack Rusin | |
2010-07-07 | mesa: Fix documentation of BranchTarget for BRK. | Eric Anholt | |
It was changed in 2009 and the comment wasn't updated. | |||
2010-07-07 | mesa: initial support for new GL 3.0 texture formats | Brian Paul | |
2010-07-07 | ir_to_mesa: Fix the assertion on LHS array derefs to DWIM. | Eric Anholt | |
This allows array derefs of matrices now, which makes idr's GLSL demo happy. | |||
2010-07-07 | ir_to_mesa: Add support for constant matrices (untested). | Eric Anholt | |
2010-07-07 | ir_to_mesa: Add support for adding/subtracting matrices. | Eric Anholt | |
This isn't really tested, but didn't break normal vector add/sub. | |||
2010-07-07 | ir_to_mesa: Don't assert that we can't assign matrices. It should work now. | Eric Anholt | |
2010-07-07 | ir_to_mesa: Only allocate a vector per column of a matrix. | Eric Anholt | |
2010-07-07 | ir_to_mesa: Add support for assignment of aggregates. | Eric Anholt | |
2010-07-07 | ir_to_mesa: Add support for matrix * matrix. | Eric Anholt | |
2010-07-07 | st/mesa: fix sampler max_lod computation | Brian Paul | |
This change makes gallium behave like other GL implementations and fixes a conformance failure. | |||
2010-07-07 | ir_to_mesa: Add support for gl_TextureMatrix access. | Eric Anholt | |
Fixes glsl-vs-texturematrix-1, and glsl-vs-texturematrix-2 on swrast. | |||
2010-07-07 | ir_to_mesa: Fill in some uninitialized fields that sometimes contained junk. | Eric Anholt | |
2010-07-07 | r600: workaround 3 comp GL_SHORT vertex attribute format on r700 | Andre Maasikas | |
guess it's a hw errata? | |||
2010-07-07 | glsl2: Add a pass to simplify if statements returning from both sides. | Eric Anholt | |
This allows function inlining making the following tests work even without function calls implemented: glsl-fs-functions-2 glsl-fs-functions-3 glsl-vs-functions glsl-vs-functions-2 glsl-vs-functions-3 glsl-vs-vec4-indexing-5 (Note that those tests were designed to trigger actual function calls, and this defeats them. However, those testcases ended up catching the bug in the previous commit.) | |||
2010-07-07 | glsl: use Elements() in arrays instead of sentinal values | Brian Paul | |
The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere. | |||
2010-07-06 | glsl2: Add pass for supporting variable vector indexing in rvalues. | Eric Anholt | |
The Mesa IR needs this to support vector indexing correctly, and hardware backends such as 915 would want this behavior as well. Fixes glsl-vs-vec4-indexing-2. | |||
2010-07-06 | ir_to_mesa: Add support for conditional moves. | Eric Anholt | |
Nothing generates conditional moves yet. | |||
2010-07-06 | Add hash table helper functions for using pointers as hash keys | Ian Romanick | |
2010-07-06 | Make hashtable.h be C++ friendly | Ian Romanick | |
2010-07-06 | ir_to_mesa: Use the compiler-assigned locations for builtin attrs/varyings. | Eric Anholt | |
The previous table didn't distinguish gl_Color for the VS and FS, so we would use the FS's attribute index for the VS and read undefined. This partially fixes glsl-routing to match its behavior on master. | |||
2010-07-06 | r300/compiler: Implement KILP opcode. | Tom Stellard | |
Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-07-06 | mesa: Always initialize transform feedback state. | Chia-I Wu | |
Assert ctx->Driver.NewTransformFeedback if the feature is enabled; Use the default callbacks otherwise. The rest of core mesa expects the state to be initialized. | |||
2010-07-05 | mesa: initial support for unnormalized integer texture formats | Brian Paul | |
As defined by GL_EXT_texture_integer. | |||
2010-07-03 | mesa: Fix OpenGL ES-only builds. | Chia-I Wu | |
Check FEATURE_GL in _mesa_init_shader_dispatch and _mesa_init_shader_uniform_dispatch. OpenGL ES can not and does not use _mesa_init_<...>_dispatch. This is supposed to be temporary. Ideally, a more flexible way for initializing dispatch tables should be developed. | |||
2010-07-03 | r300/compiler: Fix loop unrolling | Tom Stellard | |
2010-07-03 | r300/compiler: Use hardware flow control instructions for loops on r500. | Tom Stellard | |
2010-07-03 | r300/compiler: Don't continue copy propagation inside loops. | Tom Stellard | |
2010-07-03 | r300/compiler: Print debug info for flow control instructions. | Tom Stellard | |
2010-07-03 | r300/compiler: Enable hardware IF statements for r500 cards. | Tom Stellard | |
2010-07-03 | r300/compiler: In the peephole optimizer, ELSE should mark the end of a | Tom Stellard | |
block. | |||
2010-07-03 | r300/compiler: Correctly calculate the max number of iterations for loops. | Tom Stellard | |
2010-07-03 | r300/compiler: Handle loops in deadcode analysis. | Tom Stellard | |
This also allows us to split the loop emulation into two phases. A tranformation phase which either unrolls loops or prepares them to be emulated, and the emulation phase which unrolls remaining loops until the instruction limit is reached. The second phase is completed after the deadcode analysis in order to get a more accurate count of the number of instructions in the body of loops. | |||
2010-07-02 | ir_to_mesa: Fix uninitalized value. | Kenneth Graunke | |
2010-07-02 | osmesa: remove old renderbuffer before adding new | Brian Paul | |
Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-02 | mesa: updated instruction comments | Brian Paul | |
2010-07-02 | ir_to_mesa: Fix up implementation of ir_unop_exp. | Eric Anholt | |
OPCODE_EXP is not to ir_unop_exp what OPCODE_EX2 is to ir_unop_exp2. It's the weird VP approximation helper opcode. Just implement it with OPCODE_POW instead. Fixes glsl-fs-exp. | |||
2010-07-02 | i965: Add support for the DP2 opcode, which we use for dot(vec2, vec2). | Eric Anholt | |
The original glsl compiler would generate a.x * b.x + a.y * b.y, which we would do mul+mul+add for instead of this mul+mac. Fixes glsl-fs-dot-vec2. | |||
2010-07-02 | ir_to_mesa: Add support for scalar * mat, vec * mat. | Eric Anholt | |
This is not tested by piglit currently. | |||
2010-07-02 | ir_to_mesa: Add support for shadow comparison to texture instructions. | Eric Anholt | |
piglit lacks tests for this currently. | |||
2010-07-02 | ir_to_mesa: Move projection handling out of ir_tex so txb and txl get it. | Eric Anholt | |
Fixes: glsl-fs-texture2dproj-bias glsl-fs-texture2dproj-bias-2 | |||
2010-07-02 | ir_to_mesa: Add support for projected non-shadow/bias/lod texturing. | Eric Anholt | |
Fixes: glsl-fs-texture2dproj glsl-fs-texture2dproj-2 | |||
2010-07-02 | mesa: add geometry shader fields to gl_shader_program | Brian Paul | |
These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries. | |||
2010-07-02 | ir_to_mesa: Fix sparse swizzling of src regs when a writemask is present. | Eric Anholt | |
Fixes glsl-fs-texture2d-masked. | |||
2010-07-02 | ir_to_mesa: Don't forget to run the Mesa IR optimization passes. | Eric Anholt | |
With how we generate assignments, the trivial copy propagation in it is really important, and some drivers will really want the register allocation, too. | |||
2010-07-02 | glsl2: Add a pass to break ir_binop_div to _mul and _rcp. | Eric Anholt | |
This results in constant folding of a constant divisor. | |||
2010-07-02 | mesa: fix texenv generation when num color bufs == 0 | Brian Paul | |
Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE)) when the texenv program was generated, we'd emit writes to OUTPUT[1] but the OutputsWritten mask was 0. This inconsistency caused an assertion to fail later in the Mesa->TGSI translation. Fixes fd.o bug 28169 NOTE: this is a candidate for the 7.8 branch (and depends on commit b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7). | |||
2010-07-02 | mesa: add missing error checks in _mesa_program_parameteri() | Brian Paul | |