summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600
AgeCommit message (Collapse)Author
2010-09-27r600g: fix routing btw vertex & pixel shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: fix pointsprite & resource unbindingJerome Glisse
When asking to bind NULL resource assume it's unbinding so free resource and unreference assoicated buffer. Also fix pointsprite parameter. Fix glsl-fs-pointcoord & fp-fragment-position Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: build packet header onceJerome Glisse
Build packet header once and allow to add fake register support so we can handle things like indexed set of register (evergreen sampler border registers for instance. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: fix index buffer drawingJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: Fixed two texture surface leaks in r600_blit_uncompress_depth().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-27r600g: add evergreen texture resource properly.Dave Airlie
adding sampler border looks impossible with current design, another day, another corner case not worked out.
2010-09-26r600g: Silence uninitialized variable warnings.Vinson Lee
Fixes these GCC warnings. r600_shader.c: In function 'tgsi_tex': r600_shader.c:1611: warning: 'src2_chan' may be used uninitialized in this function r600_shader.c:1611: warning: 'src_chan' may be used uninitialized in this function
2010-09-26r600g: use depth decompression in new pathJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-26r600g: move around variables to share depth uncompression codeJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-26r600g: set ENABLE_KILL on evergreen tooBas Nieuwenhuizen
2010-09-26r600g: set ENABLE_KILL in the shader state in the new designBas Nieuwenhuizen
2010-09-26r600g: disable early cull optimization when occlusion query runningJerome Glisse
When occlusion query are running we want to have accurate fragment count thus disable any early culling optimization GPU has. Based on work from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-25r600g: Disable unused variables.Vinson Lee
The variables are used only in currently disabled code. Fixes this GCC warning. r600_context.c: In function 'r600_flush': r600_context.c:76: warning: unused variable 'dname' r600_context.c:75: warning: unused variable 'dc'
2010-09-25r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format'
2010-09-25r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r600_screen.c: In function 'r600_screen_create': r600_screen.c:239: warning: unused variable 'family'
2010-09-25r600g: fix vertex resource & polygon offsetJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-25r600g: add eg db count control register.Dave Airlie
2010-09-25r600g: make index bias fix for evergreenDave Airlie
2010-09-25r600g: add eg poly mode code.Dave Airlie
2010-09-24r600g: Silence 'control reaches end of non-void function' warning.Vinson Lee
Fixes this GCC warning. r600_hw_states.c: In function 'r600_translate_fill': r600_state_inlines.h:136: warning: control reaches end of non-void function
2010-09-24r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. eg_hw_states.c: In function 'eg_resource': eg_hw_states.c:525: warning: unused variable 'r'
2010-09-24r600g: Disable unused variables.Vinson Lee
The variables are only used in currently disabled code. Fixes this GCC warning. r600_state2.c: In function 'r600_flush2': r600_state2.c:613: warning: unused variable 'dname' r600_state2.c:612: warning: unused variable 'dc'
2010-09-24r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r600_buffer.c: In function 'r600_buffer_transfer_map': r600_buffer.c:141: warning: unused variable 'rctx'
2010-09-24r600g: Remove unnecessary header.Vinson Lee
2010-09-24r600g: bring over fix from old path to new pathJerome Glisse
Up to 2010-09-19: r600g: fix tiling support for ddx supplied buffers 9b146eae2521d8e5f6d3cbefa4f6f7737666313a user buffer seems to be broken... new to fix that. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: fix evergreen new pathJerome Glisse
glxgears seems to work, had somelockup but now they seems to have vanish. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: fix reg definitionJerome Glisse
Doesn't bother fixing old path code, just disable that reg. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: fix evergreen new pathJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: fixup some evergreen register definitionsJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: fix compilation after change to evergreend.hJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: evergreen fix for new designJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-24r600g: break alu clause earlierAndre Maasikas
we still have constants to add and next int may need also 6 slots
2010-09-24r600g: fix polygon modeDave Airlie
this fixes glean'pointSprite test.
2010-09-24r600g: fixup sprite coord enable.Dave Airlie
this fixes piglit glsl-fs-pointcoord
2010-09-24r600g: fix typo in r700 alu emitDave Airlie
2010-09-24r600g: fixup VP->FP output->input routing.Dave Airlie
We need to map the TGSI semantics to each other using the hw semantic ids. this fixes glsl-kwin-blur and glsl-routing.
2010-09-24r600g: fixup tex wrapping.Dave Airlie
the clamp edge/clamp cases were reversed.
2010-09-24r600g: drop index_offset parameter to index buffer translate.Dave Airlie
r600 doesn't need this as we always have working index bias
2010-09-24r600g: fix draw-elements and draw-elements-base-vertexDave Airlie
2010-09-24r600g: some more vertex formatsDave Airlie
2010-09-24r600g: add some more vertex format support.Dave Airlie
adds the sscaled formats, this passes some more of the draw-vertices tests.
2010-09-24r600g: add vert support for 16/16 and 16/16/16 floats.Dave Airlie
makes draw-vertices-half-float pass
2010-09-23r600g: initial evergreen support in new pathJerome Glisse
This doesn't work yet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-23r600g: Destroy the blitter.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-23r600g: fix warnings since last commit.Dave Airlie
2010-09-23r600g: use blitter to do db->cb flushing.Dave Airlie
use the blitter + custom stage to avoid doing a whole lot of state setup by hand. This makes life a lot easier for doing this on evergreen it also keeps all the state setup in one place. We setup a custom context state at the start with a flag to denote its for the flush, when it gets generated we generate the correct state for the flush and no longer have to do it all by hand. this should also make adding texture *to* depth easier.
2010-09-23r600g: fix depth readback on rv610 and other quirky variants.Dave Airlie
at least zreaddraw works for me here now on my rv610
2010-09-23r600g: use floats instead of hex for blit vboDave Airlie
once I go past 0x3f80000, I can't translate hex to float in-brain anymore.
2010-09-22r600g: fix multiple occlusion query on same idJerome Glisse
When calling query begin using same query id we need to discard previous query results. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-22r600g: disable shader rebuild optimization & account cb flush packetJerome Glisse
Shader rebuild should be more clever, we should store along each shader all the value that change shader program rather than using flags in context (ie change sequence like : change vs buffer, draw, change vs buffer, switch shader will trigger useless shader rebuild). Signed-off-by: Jerome Glisse <jglisse@redhat.com>