Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-28 | ir_to_mesa: Fix indexes of temps used in expressions. | Eric Anholt | |
It looks like I managed to horribly mangle this in some rebase of the branch. Fixes: glsl-fs-fragcoord glsl-fs-mix | |||
2010-06-28 | ir_to_mesa: Notify the driver when we generate new Mesa programs for GLSL. | Eric Anholt | |
Fixes glsl-fs-if-*. | |||
2010-06-28 | glhd: Remove leftover file | Jakob Bornecrantz | |
2010-06-28 | ir_to_mesa: Add support for the pow expression. | Eric Anholt | |
Fixes glsl-algebraic-pow-two. | |||
2010-06-28 | ir_to_mesa: Fix EmitCondCodes for boolean vars as condition. | Eric Anholt | |
Fixes glsl-vs-if-bool. | |||
2010-06-28 | Merge branch 'gallium-drm-driver-drescriptor' | Jakob Bornecrantz | |
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c | |||
2010-06-28 | ir_to_mesa: Respect EmitCondCodes for IF statements. | Eric Anholt | |
Fixes glsl-vs-if-* for the 965 driver. | |||
2010-06-28 | ir_to_mesa: Traverse the "else" instrs after "else", instead of "then" again. | Eric Anholt | |
2010-06-28 | ir_to_mesa: Fix matrix * scalar multiplication. | Eric Anholt | |
We're accessing in terms of columns, so we need to do MUL/MAD/MAD/MAD instead of DP4s. Fixes: glsl-fs-exp2 glsl-fs-log2 glsl-fs-mix-constant glsl-fs-sqrt-zero glsl-vs-sqrt-zero | |||
2010-06-28 | ir_to_mesa: Check the right element for matrix * scalar multiplication. | Eric Anholt | |
2010-06-28 | glsl2: Add support for some builtin matrices. | Eric Anholt | |
2010-06-28 | ir_to_mesa: Fix copy and wasted InputsRead/OutputsWritten setup. | Eric Anholt | |
2010-06-28 | Use a more sensible context in copy propagation. | Kenneth Graunke | |
2010-06-28 | Use more sensible contexts in ir_dead_code_local. | Kenneth Graunke | |
2010-06-28 | glsl2: Add option to stand-alone GLSL compiler to dump IR before optimizations | Ian Romanick | |
2010-06-28 | glsl2: Use i2b and f2b IR opcodes for casting int or float to bool | Ian Romanick | |
2010-06-28 | llvmpipe: set WRITE_ALL only a per-tile basis in lp_resource_copy(). | José Fonseca | |
2010-06-28 | llvmpipe: Actually flush in lp_resource_copy() | José Fonseca | |
The cpu_access is redundant in a software rasterizer. | |||
2010-06-28 | llvmpipe: Ensure outdated framebuffer state is not reused in ↵ | José Fonseca | |
lp_setup_bind_framebuffer(). We were starting a scene whenever lp_setup_get_vertex_info() was called by the draw module. So when when all primitives were culled/clipped, not only did we create a new scene for nothing, but we end up using the old scene with the old framebuffer state instead of a new one. Fix consists in: - don't call lp_setup_update_state() in lp_setup_get_vertex_info() -- no longer necessary - always setting the scene state before binning a command -- query commands were bypassing it - assert no old scene is reused in lp_setup_bind_framebuffer() | |||
2010-06-27 | r300g: fix a compile error on non-debug builds | Marek Olšák | |
2010-06-27 | util: fix a memory leak in blitter | Marek Olšák | |
2010-06-27 | r300g: separate the hyperz state and pipelined FB regs out of the FB state | Marek Olšák | |
2010-06-27 | r300g: release referenced objects in destroy_context | Marek Olšák | |
2010-06-27 | r300g: reference surfaces in set_framebuffer_state | Marek Olšák | |
2010-06-27 | r300g: group debug messages | Marek Olšák | |
2010-06-27 | r300g: turn rasterizer state into a command buffer | Marek Olšák | |
2010-06-27 | r300g: move emission of the MSPOS regs into the framebuffer state | Marek Olšák | |
Now the question is whether we are allowed to ignore gl_rasterization_rules and pipe_rasterizer_state::multisample. The former is invariant anyway and I think the latter would need re-emitting the AA state which is quite costly, considering that it implicitly flushes the whole pipeline (all AA regs in the AA state are *unpipelined*). | |||
2010-06-27 | r300g: turn invariant state into a command buffer | Marek Olšák | |
2010-06-27 | r300g: initialize some crucial state in the first CS | Marek Olšák | |
2010-06-26 | r300g: introduce VAP invariant state | Marek Olšák | |
Unlike other invariant states, this one must be emitted after VAP flush. | |||
2010-06-26 | r300g: immediate mode cleanup | Marek Olšák | |
2010-06-26 | r300g: update my notes about fastfill and zbuffer compression | Marek Olšák | |
2010-06-26 | r300g: enum r300_blitter_op is a bitmask | Marek Olšák | |
2010-06-26 | draw: fix build with llvm and make | Marek Olšák | |
2010-06-26 | mesa: Remove unnecessary header. | Vinson Lee | |
2010-06-26 | st/mesa: Remove unnecessary headers. | Vinson Lee | |
2010-06-26 | draw: Remove unnecessary header. | Vinson Lee | |
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 | |