Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon: Add common debugging functions. | Pauli Nieminen | 2009-08-31 | 8 | -0/+213 |
| | | | | | | | | | | These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight. | ||||
* | r600: add missing r7xx pci id | Alex Deucher | 2009-08-31 | 2 | -0/+2 |
| | |||||
* | intel: clear buffer fields in intel_bufferobj_unmap() | Brian Paul | 2009-08-31 | 1 | -0/+2 |
| | |||||
* | mesa: consolidate texture-related code in meta.c | Brian Paul | 2009-08-30 | 1 | -262/+372 |
| | | | | | Also, allow using texture rectangles, NPOT textures or regular POT textures (preferred in that order). | ||||
* | intel: use more efficient loop over buffers | Brian Paul | 2009-08-30 | 1 | -3/+7 |
| | |||||
* | mesa: avoid redundant viewport changes in meta code | Brian Paul | 2009-08-30 | 1 | -3/+18 |
| | |||||
* | i965: Fix segfault with ARB_oq CheckQuery when results are already fetched. | Eric Anholt | 2009-08-29 | 1 | -1/+1 |
| | |||||
* | i965: Support PROGRAM_ENV_PARAMs in brw_vs_emit.c | Eric Anholt | 2009-08-29 | 2 | -1/+4 |
| | |||||
* | r300: Disable threshold register for KMS. | Pauli Nieminen | 2009-08-29 | 1 | -1/+2 |
| | | | | Kernel side doesn't have required register in safe list so can't send it kernel. | ||||
* | r300: Swtcl prediction was still missing scissors. | Pauli Nieminen | 2009-08-29 | 1 | -2/+3 |
| | | | | All that state stuff should really be in state atoms :/ | ||||
* | r300: Add missing pre_emit_count to swtcl state size prediction. | Pauli Nieminen | 2009-08-29 | 1 | -3/+4 |
| | |||||
* | i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range. | Eric Anholt | 2009-08-28 | 1 | -0/+2 |
| | | | | This looks like it's a small win on blender. | ||||
* | intel: Add support for GL_ARB_map_buffer_range. | Eric Anholt | 2009-08-28 | 5 | -35/+189 |
| | | | | | Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use. | ||||
* | i965: Implement ARB_oq CheckQuery in the intended way. | Eric Anholt | 2009-08-28 | 1 | -6/+1 |
| | | | | | Previously we blocked because I hadn't added the libdrm function. Now it's there, so update your libdrm. | ||||
* | radeon: Fix swtcl emit pediction. | Pauli Nieminen | 2009-08-29 | 4 | -45/+70 |
| | | | | | | Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation. | ||||
* | radeon: Fix scissors for dri1. | Pauli Nieminen | 2009-08-28 | 1 | -4/+21 |
| | | | | DRI1 has to set scissors in framebuffer coordinates. | ||||
* | r100/r200: Bring back old PolygonStripple for DRI1. | Pauli Nieminen | 2009-08-28 | 11 | -14/+37 |
| | | | | DRI1 didn't have support for command buffer emit for stripple. | ||||
* | r100/r200: Share PolygonStripple code. | Pauli Nieminen | 2009-08-28 | 5 | -56/+30 |
| | |||||
* | r200: Fix piglit paths test. | Pauli Nieminen | 2009-08-28 | 2 | -11/+17 |
| | | | | | Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms. | ||||
* | r600: fix scissor also. | Dave Airlie | 2009-08-28 | 1 | -2/+2 |
| | | | | I forgot about r600 being here. | ||||
* | radeon: fix scissors harder. | Dave Airlie | 2009-08-28 | 3 | -6/+6 |
| | | | | this makes gnome-shell work on r300 for me | ||||
* | intel: Add support for ARB_copy_buffer. | Eric Anholt | 2009-08-27 | 2 | -2/+93 |
| | | | | Passes glean's bufferObject test for this extension. | ||||
* | r300: Fix emit prediction to account scissor emitting correctly. | Pauli Nieminen | 2009-08-28 | 1 | -1/+1 |
| | |||||
* | i915: Fix undefined symbol as of eabe12df44a41e97fb5736959e8864ddbd01be14 | Eric Anholt | 2009-08-27 | 1 | -0/+1 |
| | |||||
* | r300: Cleanup reported native program limits | Nicolai Hähnle | 2009-08-27 | 1 | -6/+3 |
| | | | | | | | | The fragment program native limits are actually higher on R4xx as reported by Alex Deucher, but using those requires some bit-twiddling changes to program handling. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Debug messages are written to stderr, so fflush that | Nicolai Hähnle | 2009-08-27 | 5 | -10/+10 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | radeon/r200/r300: Fix swtcl prediction to work after primitie change. | Pauli Nieminen | 2009-08-27 | 4 | -41/+86 |
| | | | | | Swtcl calls flush everytime primitive changes so prediction has to made again after flushing. | ||||
* | radeon: fix scissor calcs. | Dave Airlie | 2009-08-27 | 1 | -15/+20 |
| | | | | | | For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes. | ||||
* | i965: Increase assmebly shader program parameter limits | Ian Romanick | 2009-08-26 | 1 | -2/+2 |
| | | | | | Increase the number of native program parameters to the same values exposed by GLSL. | ||||
* | ARB prog: Change handling of program parameter limits | Ian Romanick | 2009-08-26 | 2 | -1/+29 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | radeon: fix max indx/vertex emission due to state checker | Dave Airlie | 2009-08-27 | 2 | -2/+4 |
| | |||||
* | r300/compiler: Fix vertex program MAD emit | Nicolai Hähnle | 2009-08-27 | 1 | -6/+46 |
| | | | | | | | Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Fix bug in rc_find_free_temporary | Nicolai Hähnle | 2009-08-27 | 1 | -2/+8 |
| | | | | | | | 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 <[email protected]> | ||||
* | Merge branch 'fix_r300_swtcl' into push_master | Pauli Nieminen | 2009-08-27 | 6 | -26/+84 |
|\ | |||||
| * | radeon: Fix loop en condition so debug output doesn't flood meaningless values. | Pauli Nieminen | 2009-08-27 | 1 | -1/+1 |
| | | |||||
| * | radeon: Make RADEON_CMDBUF more fine grained. | Pauli Nieminen | 2009-08-27 | 1 | -2/+8 |
| | | |||||
| * | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. | Pauli Nieminen | 2009-08-27 | 5 | -23/+75 |
| | | | | | | | | | | We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed. | ||||
* | | i965: init the tex_units_used field | Brian Paul | 2009-08-26 | 1 | -0/+1 |
| | | |||||
* | | i965: fix incorrect tex unit in emit_tex() and emit_txb() | Brian Paul | 2009-08-26 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | i965: clean-up tex target switches | Brian Paul | 2009-08-26 | 1 | -2/+10 |
|/ | |||||
* | i965: added texture unit sanity check | Brian Paul | 2009-08-26 | 1 | -0/+13 |
| | | | | | Check that all the textures needed by the current fragment program actually exist and are valid. | ||||
* | i965: keep track of which texture units the fragment shader accesses | Brian Paul | 2009-08-26 | 2 | -3/+18 |
| | | | | We'll use this for debug/sanity checking. | ||||
* | i965: clean up texture target switches | Brian Paul | 2009-08-26 | 1 | -2/+10 |
| | |||||
* | r600: fix two sided stencil | Alex Deucher | 2009-08-26 | 1 | -14/+4 |
| | |||||
* | r600: add missing radeon_cs_space_set_flush call | Alex Deucher | 2009-08-26 | 1 | -0/+3 |
| | | | | fixes crash in etracer reported by kdekorte on IRC | ||||
* | r600: make reloc_chunk size dynamic | Alex Deucher | 2009-08-26 | 2 | -5/+10 |
| | |||||
* | r600: fix memory leak | Alex Deucher | 2009-08-26 | 1 | -1/+2 |
| | |||||
* | r300: r4xx and rs4xx also have lte discard regs | Alex Deucher | 2009-08-26 | 1 | -1/+4 |
| | |||||
* | r600: Update vertex fetch shader if necessary | Cooper Yuan | 2009-08-26 | 3 | -6/+19 |
| | |||||
* | radeon/r100/r200: actually init the OQ support properly | Dave Airlie | 2009-08-26 | 3 | -0/+3 |
| |