Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-25 | glsl2: Add support for non-float constants in Mesa IR. | Eric Anholt | |
Fixes glsl-vs-vec4-indexing-4. | |||
2010-06-25 | glsl2: Take out the spamming of debug flags I'd added. | Eric Anholt | |
2010-06-25 | glsl2: Don't clear swizzles for Mesa IR constants after fetching them. | Eric Anholt | |
Missed this while hacking in constants support. Fixes: glsl-algebraic-mul-* glsl-algebraic-rcp-* glsl-vs-swizzle-swizzle-lhs glsl-vs-vec4-indexing-6 | |||
2010-06-25 | ir_reader: Free memory for S-Expressions earlier. | Kenneth Graunke | |
There's no point in keeping it around once we've read the IR. Also, remove an unnecessary talloc_parent call. | |||
2010-06-25 | draw: deleted by mistake | Zack Rusin | |
2010-06-25 | draw: initialize headers in the none post paths as well | Zack Rusin | |
2010-06-25 | glsl2: Start trying to hook up uniforms. | Eric Anholt | |
This should be resolved with linker.cpp's location assignment, as currently we drop that location assignment on the ground. However, this gets basic programs using uniforms working for now. | |||
2010-06-25 | glsl2: Associate the GLenum for the type with builtin GLSL types. | Eric Anholt | |
2010-06-25 | draw: limit the number of vertex shader variants kept around | Zack Rusin | |
we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders. | |||
2010-06-25 | draw: initialize vertex header | Zack Rusin | |
2010-06-25 | glsl2: Use the parser state as the talloc context for dead code elimination. | Eric Anholt | |
This cuts runtime by around 20% from talloc_parent() lookups. | |||
2010-06-25 | glsl2: Emit OPCODE_END at the end of the Mesa program. | Eric Anholt | |
The 965 driver can now run a glsl2-generated shader! | |||
2010-06-25 | glsl2: Hook up constant parameters in ir_to_mesa. | Eric Anholt | |
2010-06-25 | gallium/util: fix pipe_sampler_view_reference() calls | Brian Paul | |
The conditionals aren't needed. | |||
2010-06-25 | glsl2: Set InputsRead and OutputsWritten on the generated programs. | Eric Anholt | |
2010-06-25 | glsl2: Start integrating ir_to_mesa.cpp into shader_api.h | Eric Anholt | |
The compiler is now called by the driver, and generates program instructions. Parameter lists are still not set up, so the driver chokes on it shortly thereafter. | |||
2010-06-25 | glsl2: Use Mesa types instead of duping them into our program.h. | Eric Anholt | |
2010-06-25 | glsl2: Fix dependencies. (at least partially) | Eric Anholt | |
2010-06-25 | softpipe: rename a var | Brian Paul | |
2010-06-25 | draw: Work around an invalid write. | Chia-I Wu | |
SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround. | |||
2010-06-25 | mesa: initialize extension string when context is first bound | Brian Paul | |
...instead of waiting until glGetString(GL_EXTENSIONS) is called. This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is ignored if the app never calls glGetString(GL_EXTENSIONS). NOTE: this is a candidate patch for the 7.8 branch. | |||
2010-06-25 | llvmpipe: fix comment typo | Brian Paul | |
2010-06-25 | softpipe: fix comment typo | Brian Paul | |
2010-06-24 | glsl2: Replace the GLSL compiler with the glsl2 project. | Eric Anholt | |
2010-06-24 | glsl2: Wrap includes of C interfaces with extern "C". | Eric Anholt | |
2010-06-24 | glsl2: Remove files that had been imported for standalone. | Eric Anholt | |
2010-06-24 | glsl2: Stop .gitignoring the old standalone build system. | Eric Anholt | |
2010-06-24 | glsl2: Move the Mesa IR codegen into mesa/shader/ | Eric Anholt | |
2010-06-24 | Merge branch 'glsl2-head' into glsl2 | Eric Anholt | |
This brings in the standalone GLSL compiler that we are planning on replacing the existing Mesa GLSL compiler. It currently targets GLSL 1.20 and the Mesa IR. | |||
2010-06-24 | glsl2: Add a README file for the new compiler. | Eric Anholt | |
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |
2010-06-24 | Make sure that symbols aren't multiply defined in the same scope. | Ian Romanick | |
The assembly parser is already checking this, but we're relying on the symbol table handling it in glsl2. | |||
2010-06-24 | r300g: a couple more chipsets do not have HiZ RAM | Marek Olšák | |
2010-06-24 | gallium/docs: Vertex data formats. | Corbin Simpson | |
I'm not sure if I really got it right. This seems like one of those "Duh, of course it works that way" things, but I'd like the documentation to be readable by people not acquainted with OGL/D3D. | |||
2010-06-24 | glhd: Add test for logicop enable. | Corbin Simpson | |
Only for first RT at the moment, as there is no trivial way in galahad to look at framebuffer state and (sadly) people don't usually calloc their CSOs, so flags could be wrongly set. On the other hand, of course, galahad will hopefully encourage more people to calloc their CSOs. :3 | |||
2010-06-24 | gallium/docs: Lops override the rest of the blending state when enabled. | Corbin Simpson | |
2010-06-24 | gallium/docs: updated remaining semantic label docs | Brian Paul | |
2010-06-24 | pipe: Add PIPE_OS_HURD | nobled | |
One tiny step toward porting Gallium to the GNU/Hurd kernel (and fixing Debian bug #585618). Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> | |||
2010-06-24 | gallium/docs: Add lop table. | Corbin Simpson | |
Was feeling kind of weird without it. | |||
2010-06-24 | gallium/docs: Slight clarification and formatting for Blend. | Corbin Simpson | |
2010-06-23 | Merge branch 'shader-file-reorg' | Brian Paul | |
1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c | |||
2010-06-24 | r300g: remove an XXX comment | Marek Olšák | |
2010-06-24 | r300g: move AA registers into the new AA state | Marek Olšák | |
2010-06-24 | r300g: separate the cache flush from the framebuffer state | Marek Olšák | |
2010-06-24 | r300g: reorder and cleanup register writes everywhere | Marek Olšák | |
2010-06-24 | r300g: add "has HiZ" flag, add ZMask regs | Marek Olšák | |
2010-06-24 | nouveau: Remove reference to drm_api | Jakob Bornecrantz | |
2010-06-24 | i965g: Remove last references to drm_api | Jakob Bornecrantz | |
2010-06-24 | swrastg: Use target-helpers | Jakob Bornecrantz | |
2010-06-24 | gallium: Use debugging helper in all drm targets | Jakob Bornecrantz | |