Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-26 | i965: Increase assmebly shader program parameter limits | Ian Romanick | |
Increase the number of native program parameters to the same values exposed by GLSL. | |||
2009-08-26 | ARB prog: Change handling of program parameter limits | Ian Romanick | |
Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490. | |||
2009-08-27 | radeon: fix max indx/vertex emission due to state checker | Dave Airlie | |
2009-08-26 | nv04: Handle more Z formats. | Younes Manton | |
Based on the patch from Luo Jinghua. | |||
2009-08-27 | r300/compiler: Fix vertex program MAD emit | Nicolai Hähnle | |
Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-08-27 | r300/compiler: Fix bug in rc_find_free_temporary | Nicolai Hähnle | |
Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-08-26 | egl: Remove Xdpy from EGLDisplay. | Chia-I Wu | |
It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-26 | egl_glx: Make fbconfigs and visuals per display. | Chia-I Wu | |
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-26 | egl_softpipe: Make winsys and pipe screen per display. | Chia-I Wu | |
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-26 | EGL_i915: Make struct drm_device per display. | Chia-I Wu | |
This is to allow a driver to drive multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-27 | Merge branch 'fix_r300_swtcl' into push_master | Pauli Nieminen | |
2009-08-27 | radeon: Fix loop en condition so debug output doesn't flood meaningless values. | Pauli Nieminen | |
2009-08-27 | radeon: Make RADEON_CMDBUF more fine grained. | Pauli Nieminen | |
2009-08-27 | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. | Pauli Nieminen | |
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed. | |||
2009-08-26 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-08-26 | i965: init the tex_units_used field | Brian Paul | |
2009-08-26 | i965: fix incorrect tex unit in emit_tex() and emit_txb() | Brian Paul | |
The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup. | |||
2009-08-26 | i965: clean-up tex target switches | Brian Paul | |
2009-08-26 | glsl: asst. clean-ups in set_program_uniform() | Brian Paul | |
Remove redunant type check for samplers (assert instead). Move some local vars. Update comments. | |||
2009-08-26 | glsl: signal that the program needs to be re-translated when samplers change | Brian Paul | |
2009-08-26 | i965: added texture unit sanity check | Brian Paul | |
Check that all the textures needed by the current fragment program actually exist and are valid. | |||
2009-08-26 | i965: keep track of which texture units the fragment shader accesses | Brian Paul | |
We'll use this for debug/sanity checking. | |||
2009-08-26 | i965: clean up texture target switches | Brian Paul | |
2009-08-26 | mesa: var renaming, new assertion | Brian Paul | |
2009-08-26 | mesa: additional instruction field size assertions | Brian Paul | |
2009-08-26 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-08-26 | glsl: fix bug in sampler array indexing | Brian Paul | |
Need to add the 'offset' parameter when indexing the parameter array. Before, if we were setting arrays of samplers, we were actually only setting the 0th sampler's value. Because of how progs/glsl/samplers.c is constructed, this wasn't showing up as a failure in the samplers_array output. | |||
2009-08-26 | r600: fix two sided stencil | Alex Deucher | |
2009-08-26 | r600: add missing radeon_cs_space_set_flush call | Alex Deucher | |
fixes crash in etracer reported by kdekorte on IRC | |||
2009-08-26 | st/xorg: create basic vertex shader | Zack Rusin | |
2009-08-26 | st/xorg: create basic fragment shader | Zack Rusin | |
2009-08-26 | r600: make reloc_chunk size dynamic | Alex Deucher | |
2009-08-26 | r600: fix memory leak | Alex Deucher | |
2009-08-26 | r300: r4xx and rs4xx also have lte discard regs | Alex Deucher | |
2009-08-26 | st/dri: Add some debug code | Jakob Bornecrantz | |
2009-08-26 | st/xorg: Temporary fix for none stencil visuals | Jakob Bornecrantz | |
Should be replaced with something looking at the proper glx visual for the buffers. | |||
2009-08-26 | st/xorg: Find out correct type for depth stencil buffers | Jakob Bornecrantz | |
2009-08-26 | st/dri: Redo config generation | Jakob Bornecrantz | |
2009-08-26 | st/xorg: Add support for dirty framebuffer region reporting. | Michel Dänzer | |
Add a BlockHandler which flushes the context and reports the dirty region gathered using the X server damage layer. In the interim, with dirty region reporting only allocate textures for the framebuffer and shared pixmaps (e.g. DRI2 buffers) and fall back to software for other pixmaps. This will be improved in the future. | |||
2009-08-26 | r600: Update vertex fetch shader if necessary | Cooper Yuan | |
2009-08-26 | st/dri: make the GL_ARB_map_buffer_range entrypoints available | Ben Skeggs | |
2009-08-26 | radeon/r100/r200: actually init the OQ support properly | Dave Airlie | |
2009-08-26 | radeon/r200: OQ support for r200 in theory. | Dave Airlie | |
this is an untested port of the r100 OQ code | |||
2009-08-26 | radeon: add r100 OQ support with kms. | Dave Airlie | |
This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs. | |||
2009-08-25 | mesa: validate shader before drawing (for debugging, disabled) | Brian Paul | |
2009-08-25 | glsl: update a texture/sampler comment | Brian Paul | |
2009-08-25 | glsl: implement shader sampler validation | Brian Paul | |
Shader validation should fail if there are two samplers of different types which reference the same texture unit. For example, if a cubemap sampler and a 2D sampler both reference texture unit 0, that's invalid. | |||
2009-08-25 | mesa: use gl_texture_index type for gl_program::SamplerTargets | Brian Paul | |
2009-08-25 | i965: add some texture unit/target assertions | Brian Paul | |
2009-08-25 | mesa: print some program fields in binary too | Brian Paul | |