summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
AgeCommit message (Collapse)Author
2010-06-27r300g: move emission of the MSPOS regs into the framebuffer stateMarek 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-26r300g: introduce VAP invariant stateMarek Olšák
Unlike other invariant states, this one must be emitted after VAP flush.
2010-06-24r300g: move AA registers into the new AA stateMarek Olšák
2010-06-24r300g: separate the cache flush from the framebuffer stateMarek Olšák
2010-06-24r300g: reorder and cleanup register writes everywhereMarek Olšák
2010-06-22glhd: Grab framebuffer state checks from r300g.Corbin Simpson
2010-06-22r300g: optimize the immediate mode emission path a bitMarek Olšák
2010-06-20r300g: fix assigning the texture cache region for 1 textureMarek Olšák
2010-06-20r300g: manually assign texture cache regionsMarek Olšák
This should fix corrupted texturing on r3xx-r4xx.
2010-06-19r300g: fix random pixels appearing / incomplete renderingMarek Olšák
This should fix the FDO bug #28612. Also, these piglit tests have been fixed: - fbo-copypix - scissor-copypixels - copytexsubimage - texredefine Finally, 2 flushes in the transfer path are no longer needed.
2010-06-19r300g: fix clamp and mirror_clamp wrap modes when used with nearest filteringMarek Olšák
2010-06-19r300g: improve the ZTOP conditionMarek Olšák
The real difference here is that ZTOP is now enabled if all stencil ops are set to KEEP. This improves performance.
2010-06-19r300g: fix up the CS size of the rasterizer stateMarek Olšák
2010-06-16r300g: Fix MSAA state size.Corbin Simpson
2010-06-16r300g: Moar MSAA setup.Corbin Simpson
Need to just add the resolve, then go switch to new DRM and test.
2010-06-16r300g: Old MSAA code from before gallium-msaa.Corbin Simpson
2010-06-13r300g: optimize emission of fragment shader constantsMarek Olšák
2010-06-13r300g: turn fragment shader into a CBMarek Olšák
2010-06-13r300g: turn depth stencil state into a CBMarek Olšák
2010-06-13r300g: turn clip state into a CBMarek Olšák
2010-06-13r300g: turn blend color into a CBMarek Olšák
2010-06-13r300g: turn blend state into a CBMarek Olšák
2010-06-13r300g: remove r300_state.hMarek Olšák
2010-06-13r300g: add fallback for unaligned/unsupported vertex stride/offset/formatMarek Olšák
There is a problem though, the translate module cannot emit half float vertices.
2010-06-08r300g: skip rendering for unsupported vertex formats instead of abortingMarek Olšák
The next step is to replace skipping by an actual fallback.
2010-05-31r300g: set correct pitch in libdrmMarek Olšák
to match what DDX sets. This prevents some flushes from occuring.
2010-05-28r300g: report vertex format support in is_format_supportedMarek Olšák
2010-05-27r300g/swtcl: fix secondary color and back-face color outputsMarek Olšák
These piglit tests have been fixed: - bgra-sec-color-pointer - glsl-routing See comments at the beginning of r300_vs_draw.c WPOS is implemented too but it doesn't work yet. I'm still working on it.
2010-05-27r300g: decouple drawing code and two-sided stencil refvalue fallbackMarek Olšák
It's now more separate from the rest of the driver and it can be disabled by commenting out just 1 line. Well, I couldn't make the previous version work with SW TCL reliably, that's the reason of this little rework.
2010-05-26r300g/swtcl: do not use u_upload_mgr and do not compute max_indexMarek Olšák
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-18gallium: implement set_sample_mask() in all driversRoland Scheidegger
prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither).
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-05-12r300g: Correct viewport setup for SW TCL.Corbin Simpson
glxgears now renders in the right place on-screen, although it is still rather...psychedelic.
2010-05-08r300g: follow pipe_rasterizer_state::light_twosideMarek Olšák
2010-05-08r300g: follow pipe_rasterizer_state::point_size_per_vertexMarek Olšák
2010-05-08r300g: move GA_POINT_MINMAX back to rs_stateMarek Olšák
This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264.
2010-05-08r300g: fix glean/pointSprite using lodbias correctionMarek Olšák
2010-05-08r300g: pass depth texture swizzle to the compiler if compare mode is enabledMarek Olšák
2010-05-03r300g: use util_format_short_name and util_format_is_plainMarek Olšák
2010-05-02r300g: always set the pitch of the first miplevel in the tiling flagsMarek Olšák
This further reduces the number of DRM calls and flushes.
2010-05-02Revert "r300g: disable point sprites (again)"Marek Olšák
This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca.
2010-05-02r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák
These two should be tied together because what's set in VAP or stuffed in GA should be rasterized in RS. Not doing so causes a hardlock. The reason for the merge is that if stuffed texture coordinates (e.g. point sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos, the two must be relocated to other free slots, which needs remapping the vertex shader outputs. The rasterizer code is now literally a sequence read-rasterize-write.
2010-05-02r300g: fix segfault when resizing a DRI2 framebufferMarek Olšák
Resetting tiling flags might happen after a texture is destroyed... Looking at the kernel sources, we don't actually need to reset the tiling flags.
2010-05-16r300g/swtcl: fix point sprite texgen (do it in HW)Marek Olšák
2010-05-15r300g: fix psychedelic colors with SWTCLMarek Olšák
r300_vertex_shader::outputs was uninitialized. Also remove the tokens parameter.
2010-05-15r300g: the vertex_stream_state atom for SWTCL should be staticMarek Olšák
plus whitespace and comment fixes.
2010-05-14r300g: do not abort if a constant buffer is too largeMarek Olšák
What else can we do with misbehaving apps?