78222e63630280b96488de0d51d1b2578e26f814 |
|
30-Jan-2013 |
Jerome Glisse <jglisse@redhat.com> |
r600g: add cs memory usage accounting and limit it v3 (backport for mesa 9.0) We are now seing cs that can go over the vram+gtt size to avoid failing flush early cs that goes over 70% (gtt+vram) usage. 70% is use to allow some fragmentation. The idea is to compute a gross estimate of memory requirement of each draw call. After each draw call, memory will be precisely accounted. So the uncertainty is only on the current draw call. In practice this gave very good estimate (+/- 10% of the target memory limit). v2: Remove left over from testing version, remove useless NULL checking. Improve commit message. v3: Add comment to code on memory accounting precision This version is a backport for mesa 9.0 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7851d398def2df3f6836a500d67123eed50f3943 |
|
06-Oct-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix possible issue with stencil mipmap rendering Somehow I only hit this issue with my latest libdrm changes. This won't be needed with DB texturing. NOTE: This is a candidate for the 9.0 branch. (cherry picked from commit 9dfca930d7fcfda6767d3be9b1690d010f08fea5)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a940c74bc3bb129b074601cc7967c331e2b97322 |
|
19-Sep-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set QUANT_MODE on Cayman too This fixes piglit/fbo-blit-stretched. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit bfe489c76b6fd58bc4d8cc7f7a3859ff3dc1782e)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c3454d95af46d6de52f319e538378dee57d6fe36 |
|
08-Sep-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: do not require MSAA renderbuffer support if not asked for to allow stencil-only sampler-only formats (like X24S8) NOTE: This is a candidate for the stable branches. (cherry picked from commit df5e2c058f73b72909fa99a2a189f5877525e3bf)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f94b6d706ff4340277b9c68d2bc51602792c5739 |
|
13-Sep-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: reduce quant mode on evergreen+ Seems to have an affect on the allowable range of values. Set evergreen+ to 1/256 to match 6xx/7xx. fixes: https://bugs.freedesktop.org/show_bug.cgi?id=54877 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit b33d7eaa5e77b5367584fe183c46f8c3d9a06760)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c586fce4fb537e904e35cb5197b6b7fe02217acb |
|
03-Sep-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: adjust QUANT_MODE for higher precision Use 1/256 for R6xx/7xx, 1/4096 for evergreen, instead of default 1/16. Helps to pass some piglit tests (fbo, multisample). Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit f44bda17f515c411071ca8744ebd96039d9c583b)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
64db3cc6ad2d52dec46119e5b80030393cb60bf4 |
|
30-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement MSAA for Cayman Everything works except for blitting MSAA colorbuffers, which isn't so trivial on Cayman. It's a rarely-used feature anyway.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a3d9d7ec79d6f7205fab2324e47d8ea185431de0 |
|
12-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement compression for MSAA colorbuffers for evergreen This adds the FMASK and CMASK buffers. They share the same resource with color data. COMPRESSION and FAST_CLEAR are always enabled if both FMASK and CMASK are allocated. We initialize the CMASK to a "compressed" state (not "fast cleared"), so that we can keep FAST_CLEAR enabled all the time. Both FMASK and CMASK must be present at the moment. If either one is missing, the other one is not used. v2: add cayman regs in the list Reviewed-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3ac54ac2c85d3ed035a9f1cbcc7de7010c609cfb |
|
23-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix evergreen 8x MSAA sample positions The original samples positions took samples outside of the pixel boundary, leading to dark pixels on the edge of the colorbuffer, among other things. Reviewed-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1cfec6e2c8f15b2448e0297f4ca975ed7ab0c505 |
|
19-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set CB_TARGET_MASK to 0xf and not 0xff for resolve on evergreen independent_blend_enable must be true, so that the colormask isn't replicated in all colorbuffers. Reviewed-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
59361d76a5b0b6b77d6e6bc976e02df2e8df9ec3 |
|
20-Aug-2012 |
archibald <archibald@ethernull.org> |
r600g: Move common compute/3D register init to its own function Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
951ac46a6a0a901b53a518c8dcde734578cbf228 |
|
14-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rename r600_resource_texture to r600_texture
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
773ff5705f3b2d88fb7094b8d2e051bb684c2323 |
|
12-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup r600_resource_texture in favor of radeon_surface
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d663a557fd27d7c238248e19f22f2e6b05f03030 |
|
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
r600: update sampler, sampler_view code for the future For when we have pipe->set_sampler_states(pipe, shader, start, num, samplers), etc. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1932bc8aaeb59287a7f769b0cb9a55f49dd6d553 |
|
09-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: enable MSAA on evergreen by default v2: add the DRM version check
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0f86915c5322b096b7154b6c84e21288074b775d |
|
09-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement MSAA color resolve
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
94b634eca0e2bd32d4b5bd92d06d510eae8a5625 |
|
09-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement MSAA depth-stencil decompression and resolve and integer textures, which are resolved the same as depth, I think.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4b78df9c81f1ca8af2b750616de8ff440e99c3c1 |
|
09-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement MSAA rendering and texturing for evergreen and cayman
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a01791add08fbcb5386e0e9209ba21ed58fbdc42 |
|
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement set_sample_mask
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6517225078a6a56c9fb3c1ea9f310992e6400b77 |
|
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement alpha-to-coverage
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
26cb887ea213be2445e0fd64364d9264ed4fbfd2 |
|
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement alpha-to-one
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4f215952760b2e5a92b25ddfa89469c1ec110160 |
|
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove support for 3-channel colorbuffers We have no sampler support for them.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2df399c34bb39122a45bdd5b430b48346542e1cb |
|
01-Aug-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: atomize sampler state v2 Use atom for sampler state. Does not provide new functionality or fix any bug. Just a step toward full atom base r600g. v2: Split seamless on r6xx/r7xx into it's own atom. Make sure it's emited after sampler and with a pipeline flush before otherwise it does not take effect. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cb922b63eba1d75706354614bc5de4d39dbe9ad3 |
|
02-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: precompute color buffer state in pipe_surface and reuse it
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cdc681c3ad746fe8adab4ea71358bcc54e024ff9 |
|
02-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: precompute depth buffer state in pipe_surface and reuse it This is done on-demand, because we don't know in advance if a zbuffer will be bound as depth or color.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
581f7e3101980a4e1068bb75c2eca60bb2071229 |
|
29-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: drop the old texture allocation code Made obsolete by the libdrm surface allocator.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e2f623f1d6da9bc987582ff68d0471061ae44030 |
|
28-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't decompress depth or stencil if there isn't any
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d3b013049126fb44d65a0a67001b04acbe778613 |
|
24-Jul-2012 |
Tom Stellard <thomas.stellard@amd.com> |
r600g: Atomize compute shader state Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cb149bf9e12aebd38bd0a6d009673e8400659110 |
|
23-Jul-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: don't emit forbidden reg with old kernel on evergreen Fix https://bugs.freedesktop.org/show_bug.cgi?id=52313 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b7b5a77ec0fa715f09cef32083f818e745772f91 |
|
23-Jul-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: don't emit forbidden register on old kernel Fix https://bugs.freedesktop.org/show_bug.cgi?id=52313 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
30257c32910c3f7ac2b9cc24399d6be196d34d26 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move VGT_STRMOUT_DRAW_OPAQUE_OFFSET initialization into invariant state
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1b699a483233d29699865e317f1009a58ebd5416 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix alphatest without a colorbuffer on evergreen
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
de4fd087cbccd47e703f750968b79525ddbe4554 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: always derive alphatest state from the first colorbuffer
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
bc2f5fc01e678ecd19f921e5bc7bd55c131dde66 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: atomize alphatest state
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
611dd529425281d73f1f0ad2000362d4a5525a25 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: init_flushed_depth_texture should be able to report errors
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9d699cd845f3544fa6e149fa4ffb1d131d32b482 |
|
15-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix lockups with and enable dual source blending on evergreen GL_ARB_blend_func_extended is now enabled on all chipsets.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5d8d4252f2f6632fc455dcf1079c95495ef445ac |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: convert sampler view emission into atoms Vertex and constant buffers are emitted in the same way. This is mainly a simplification of the code. The cleanup is in another patch.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e5de73cafdc8febb16d991212b58ad320d67e285 |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate and optimize sampler states changes for evergreen Only set sampler states which changed.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
883c43cdd48b91faff67fe43512e1225c2f8d877 |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't invalidate texture caches when setting sampler states Changing sampler states doesn't change resource bindings.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ba48f47ebf7f017db0507b92a3ca83e404dc586c |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate code for setting sampler views and fix bugs in the process Issues fixed: - set_vs_sampler_views for evergreen is now properly implemented. - Added the missing inval_texture_cache call for evergreen. - have_depth_texture was sometimes incorrectly set to false on evergreen even if there were depth textures in other shader stages. To fix this, set it to true once and never set it to false again. It's stupid, but it matches the r600 code. The proper fix is left to another patch. - Optimizaton: The sampler views which aren't changed aren't updated.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d1ca16b2738644d17c10e736ca36981f69f5fa87 |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove unused flag have_depth_fb This is a leftover from: commit fe1fd675565231b49d3ac53d0b4bec39d8bc6781 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Jul 8 03:10:37 2012 +0200 r600g: don't flush depth textures set as colorbuffers
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
585baac652ffa172fb3fbbdd4c7559d03b7c27ef |
|
06-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: do fine-grained vertex buffer updates If only some buffers are changed, the other ones don't have to re-emitted. This uses bitmasks of enabled and dirty buffers just like emit_constant_buffers does.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
018e3f75d69490598d61059ece56d379867f3995 |
|
15-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix all failing depth-stencil tests for evergreen
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e634651024d6507cf325999494a3e2630f3072c8 |
|
14-Jul-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix DB decompression on evergreen Separated out of the hyperz patch by Marek with minor modifications. Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c2f444c54db82a53f63fa7a103770ee5eedc3559 |
|
12-Jul-2012 |
Tom Stellard <tstellar@gmail.com> |
r600g: Emit vertex buffers using the same method as constant buffers Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9b76ee70b2ceebb52cc5edc574df9593cbac03b3 |
|
12-Jul-2012 |
Tom Stellard <tstellar@gmail.com> |
r600g: Unify 3D and compute vertex buffer emission Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0b4c5dbb8c5ee69a341c1f66f70c54e3fe2db970 |
|
14-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix grammar constant_buffer -> constant_buffers
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
43e3f19c766863a655bb9f7c04f7820cbda0c8f5 |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set DISABLE in CB_COLOR_CONTROL if colormask is 0 this will be useful for in-place DB decompression, otherwise should be harmless Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4fe74412cfdba9af6ce878aebbb0c367f19cbb4b |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move CB_SHADER_MASK setup into cb_misc_state Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0ea76916e63f8fc556f5e8f5a46c196d317cd5ad |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move CB_TARGET_MASK setup into new cb_misc_state to remove some overhead from draw_vbo. This is a derived state. BTW, I've got no idea how compute interacts with 3D here, but it should use cb_misc_state, so that 3D and compute don't conflict. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
37708479608af877986b76302a9c92611d1e23d0 |
|
11-Jul-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: improve flushed depth texture handling v2 Use r600_resource_texture::flished_depth_texture for GPU access, and allocate it in the VRAM. For transfers we'll allocate texture in the GTT and store it in the r600_transfer::staging. Improves performance when flushed depth texture is frequently used by the GPU, e.g. in Lightsmark (~30%) Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
da9c8a73ec6fcb0e92204a739c1a7c43f145efef |
|
27-Jun-2012 |
Tom Stellard <thomas.stellard@amd.com> |
r600g/compute: Use evergreen_cb() for binding RATs
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
960906d16b3a9027d8871f9af9bcc50aae42b8bc |
|
27-Jun-2012 |
Tom Stellard <thomas.stellard@amd.com> |
r600g: Add support for RATs in evergreen_cb()
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a460df9299dfeb7915689befc15155e18e41ddb8 |
|
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: add assertions after translate_colorswap/colorformat/dbformat/texformat
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6657a7af61ae7c328fecc6ee00246d7c6c93c936 |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use depth format from pipe_surface, not pipe_resource
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
470d00c0e270c6079232d0d5ab10bf3219768faf |
|
26-Jun-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: enable DUAL_EXPORT mode when possible It seems DUAL_EXPORT on evergreen may be enabled when all CBs use 16-bit export mode (EXPORT_4C_16BPC), also there should be at least one CB, and the PS shouldn't export depth/stencil. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0c47d9dcab80923c61b3f5375128e9b511b842fb |
|
26-Jun-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: avoid unnecessary shader exports v2 In some cases TGSI shader has more color outputs than the number of CBs, so it seems we need to limit the number of color exports. This requires different shader variants depending on the nr_cbufs, but on the other hand we are doing less exports, which are very costly. v2: fix various piglit regressions Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4acf71f01ea1edb253cd38cc059d4af1a2a40bf4 |
|
11-Jun-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: cache shader variants instead of rebuilding v3 Shader variants are stored in the list, the key for lookup is based on the states that require different hw shaders - currently it's rctx->two_side (all gpus) and rctx->nr_cbufs (evergreen/cayman, when writes_all property is set). v2: - use simple list instead of keymap as suggested by Marek on irc - call r600_adjust_gprs from r600_bind_vs_shader for r6xx/r7xx (r600_shader_select isn't used for vertex shaders currently) v3: - fix call to r600_adjust_gprs - do it after updating current shader Improves performance for some apps, e.g. FlightGear - see https://bugs.freedesktop.org/show_bug.cgi?id=50360 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
da98bb6fc105e1a2f688a1713ca9e50f0ac8fbed |
|
25-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: split flushed depth texture creation and flushing
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6a829a1b724ca0d960decee217d260b4de8a5463 |
|
30-Nov-2011 |
Adam Rak <adam.rak@streamnovation.com> |
r600g: compute support for evergreen Tom Stellard: - Updated for gallium interface changes - Fixed a few bugs: + Set the loop counter + Calculate the correct number of pipes - Added hooks into the LLVM compiler
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a1a0974401c467cb86ef818f22df67c21774a38c |
|
25-May-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
Revert "r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen" This reverts commit 60bf0f05b472e66bf1175fcec7a274dab6f7e2a3. It seems round_mode behaves differently in some cases depending on the instruction/slot. Reverting it for now. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50232 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b2d63860860308f2e794dc506cdcde62cf936a46 |
|
12-May-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG)
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
31a25dac98ea20ba853128f98987c6358d8e0598 |
|
27-Apr-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: setup COLOR1 for possible dual-src in the framebuffer bind As pointed out by Marek, if we have only one cb, we may as well add this single register write here rather than adding it in the draw loop. Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
bb4c5d72d7c7cb1d9e7016e2c07c36875f30011a |
|
11-May-2012 |
Marek Olšák <maraeo@gmail.com> |
Merge branch 'gallium-userbuf' Conflicts: src/gallium/docs/source/screen.rst src/gallium/drivers/nv50/nv50_state.c src/gallium/include/pipe/p_defines.h src/mesa/state_tracker/st_draw.c
|
4a26454e979251db25bab68685835fa32c099429 |
|
22-Apr-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: bypass alpha for integer types (v2) This moves the alpha test control to derived state and disables alpha testing for integer fbs. fbo-blending test in piglit gets further when we do this (not a pass but less fail). v2: drop the fb_sx_alpha_test_control Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0b7d48cbad86eaac21fce3793da41b46db8be3b4 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer to pipe_constant_buffer This reduces CPU overhead when updating constants.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
43995c9470dd38cf80a60a169f5875de6798863f |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove pipe_context::redefine_user_buffer
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
507337864fa80caf9f26602324d2c28dd0a75d61 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: change set_constant_buffer to be UBO-friendly
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a52b3338c6e51421e3836ae210cd98d9c1ec337b |
|
10-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
u_vbuf: remove u_vbuf_resource
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2d03d4f4a365d7af5f4dac20700009152eba1682 |
|
31-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
u_vbuf: override set_vertex_buffers
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
62b0323cf6af90aa2be89ec76ec3693213b0de5e |
|
23-Apr-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: split add_reg into add_reg and add_reg_bo variants This shaves 2k off the final dri.so, and removes lots of pointless NULL, 0 passing. most like pointless - but it looked nicer to me. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d1cc87c0b64c2221b079015a6c3b593af83f0758 |
|
24-Mar-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: initial r600 dual src blending support survives piglit with no regressions on rv610/evergreen Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a633d82ce352a69fd54a2b0e262a91f27f478119 |
|
02-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove dead code after the rework Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
68bbfc1afe210d82acfb14a78b0fd8c436a8f78c |
|
01-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework state emission of constant buffers Framerate in ipers: before: 43.6 FPS after: 46.6 FPS Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c76462b45f1e3a0aa2ee7971191e30e8a5f52015 |
|
30-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework state emission of vertex buffers This reduces a little of CPU overhead. The idea is to translate pipe vertex buffers directly into the CS and not using any intermediate representations. Framerate in Torcs: before: 32.2 after: 34.6 Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f6546535c9c8ce001e081487b8cd30b6703c0f4d |
|
07-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use SX_MISC to implement rasterizer discard Yeah I am reworking it again. This is way simpler than the other methods.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
80e4d18f84748f903cea07b9bba2d519cfa4163a |
|
08-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
Revert "r600g: rework rasterizer discard for evergreen" I will use SX_MISC instead. This reverts commit 734792e83fdc526623d8fe0a60479648c936bd53. Conflicts: src/gallium/drivers/r600/evergreen_hw_context.c src/gallium/drivers/r600/evergreen_state.c src/gallium/drivers/r600/r600_hw_context.c src/gallium/drivers/r600/r600_pipe.h
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e363dd5c7d8ba40984d937ad7487abbb5be439bc |
|
05-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: replace atom_ prefix with _state and _cmd suffixes
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
330b6c85c961b32f704ce8ec7dbf8cb7fc0b80a8 |
|
05-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup includes
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
96ef4ddc3ddda4d1f637af86f4790d24f8f386c6 |
|
27-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: initialize DB_DEPTH_CONTROL at beginning of CS Otherwise streamout with rasterizer discard will make the kernel upset if the state tracker doesn't set a depth-stencil-alpha state. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6187503f95c56aa3fdbb645170095c409dad12ff |
|
27-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: initialize SX_SURFACE_SYNC Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
914b4bb80c28c81101941d5533361ae0108eb771 |
|
29-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: add support for missing colorbuffer formats Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c60d789b3bdb4825b313609ca87987deae13d43b |
|
28-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove support for SCALED colorbuffer formats Unused by the current stack and APIs, therefore untestable. It was used to facilitate the transition to integers. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
734792e83fdc526623d8fe0a60479648c936bd53 |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework rasterizer discard for evergreen Implement it right using STRMOUT_CONFIG.RAST_STREAM. This fixes rasterizer discard with points and lines. This also adds another derived state. It's a combination of rasterizer discard and streamout enable. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cd5d02bf51af370233f35604a69d07e70db11eaf |
|
25-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: make some scissor regs invariant on evergreen We only need one scissor for the framebuffer. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2881d456a5dd267bf2291532c9d95b1d48e93c08 |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework scissor for evergreen VPORT_SCISSOR is the OpenGL scissor. How do I know? Because there are 16 of them just like GL4.1 has multiple scissor rectangles. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
370c8b5ee7666f4f515d63603afe8282b1b3c682 |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove obsolete todo comments Also use XXX in the other ones, because it's the most used word for that purpose in Mesa. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b85fc0ac7e9795b773edad22e20eb3270f4909bd |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move initialization of use_surface flag into screen_create Also change the type to bool and give it a less ambiguous name.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d334d591a71c41d6a1eb4f2ea6cdabedc425e42f |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rename r600_resource_texture::depth to bool is_depth It's used as a boolean.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
edc0ce292b5a34ba1e2ef96c0b530fbf8428e67d |
|
21-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove duplicated set_xx_resource functions Reviewed-by: Jerome Glisse <jglisse@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5d2de9232d3bee91a6df49d1558fa00995a235c5 |
|
08-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move invariant register updates into start_cs for evergreen and cayman
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e2809849ecac69615ece294a55ee355afaac33d3 |
|
02-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: add a depth misc state which depends on occlusion queries This is a state which is derived from other states and is actually the first state which doesn't correspond to any gallium state. There are two state flags: bool occlusion_query_enabled bool flush_depthstencil_enabled Additional flags can be added later if needed, e.g. bool hiz_enabled. The emit function will have to figure out the register values by itself. It basically just emits the registers when the state changes. This commit also adds a few helper functions for writing registers directly into a command stream.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
182fd4c54476ced92b61412b0cac5be32e257b53 |
|
02-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: move all invariant state from draw_vbo into start_cs
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f126253040654d52db134063a69ebaf0c417d410 |
|
31-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: turn init_config into a command buffer for starting a CS This is the first pure command buffer. It contains CS initialization packets and emits invariant state (i.e. the registers which never or rarely change). The affected registers are removed from *_hw_context.c, so that both ways of emitting commands can co-exist. v2: emit context_control in cayman's start_cs too
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b0b81218132b6952de987dca21b9750d8d51b7f0 |
|
16-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove the workaround for quads and provoking vertex
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
014198ec8860d8a0abfd6aa0ddd8db9d26febdbb |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate set_blend_color code
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5cc9aa0e02f222fd6a8f16f65d8c7f5eda06f893 |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate more translate functions
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d214275aceed3afd1174cd2a1b823d4b7357de2a |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: inline r600_translate_ds_func
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9a20130e5f703e9e9279965183993b95907c7d6b |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate some translate functions
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
39b0da9f8d04315c698f8611304d1a66e8505c6c |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
Revert "r600g: don't advertise integer textures without GLSL 1.3" This reverts commit 2c06bcb90982280e82a044b8be83be8fdf5a9590. It breaks u_blitter trying to blit compressed textures as uint.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2c06bcb90982280e82a044b8be83be8fdf5a9590 |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't advertise integer textures without GLSL 1.3
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5e1495b2d9311fa2b320766a1d299053904bd9c3 |
|
10-Feb-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: 128 bit formats require tile_type = 1 on cayman Noticed by taiu on IRC. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Note: this is a candidate for the stable branches.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
acca690c259824636ef1ff684a10bd1caca4751f |
|
10-Feb-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: fix tex tile_type offset for cayman Noticed by taiu on IRC. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Note: this is a candidate for the stable branches.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c0c979eebc076b95cc8d18a013ce2968fe6311ad |
|
30-Jan-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: add support for common surface allocator for tiling v13 Tiled surface have all kind of alignment constraint that needs to be met. Instead of having all this code duplicated btw ddx and mesa use common code in libdrm_radeon this also ensure that both ddx and mesa compute those alignment in the same way. v2 fix evergreen v3 fix compressed texture and workaround cube texture issue by disabling 2D array mode for cubemap (need to check if r7xx and newer are also affected by the issue) v4 fix texture array v5 fix evergreen and newer, split surface values computation from mipmap tree generation so that we can get them directly from the ddx v6 final fix to evergreen tile split value v7 fix mipmap offset to avoid to use random value, use color view depth view to address different layer as hardware is doing some magic rotation depending on the layer v8 fix COLOR_VIEW on r6xx for linear array mode, use COLOR_VIEW on evergreen, align bytes per pixel to a multiple of a dword v9 fix handling of stencil on evergreen, half fix for compressed texture v10 fix evergreen compressed texture proper support for stencil tile split. Fix stencil issue when array mode was clear by the kernel, always program stencil bo. On evergreen depth buffer bo need to be big enough to hold depth buffer + stencil buffer as even with stencil disabled things get written there. v11 rebase on top of mesa, fix pitch issue with 1d surface on evergreen, old ddx overestimate those. Fix linear case when pitch*height < 64. Fix r300g. v12 Fix linear case when pitch*height < 64 for old path, adapt to libdrm API change v13 add libdrm check Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
38bf2763482b4f1b6d95cd51aecec75601d8b90f |
|
31-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove unused variable num_dest_buffers
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0813e58a3e41faf6f2072d034dfdc6198a3a1fee |
|
30-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework cache flushing This also significantly improves the RV670 flush by using the CB1 flush *always* and also DEST_BASE_0_ENA, which appears to magically fix some tests. I am not entirely sure, but it's possible that RV670 flushing is fixed completely. v2: fix cayman by flushing texture cache instead of vertex cache Thanks to Dave Airlie for testing Cayman.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e4340c1908a6a3b09e1a15d5195f6da7d00494d0 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: merge r600_context with r600_pipe_context The split made no sense.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
78293b99b23268e6698f1267aaf40647c17d95a5 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove u8,u16,u32,u64 types
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b1b969f670c50a15110fd41527ccbc7e885e1cdd |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use r600_context_reg on evergreen Just getting rid of things which use the register mask. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4a058aebb2ce340d0e03434a8820fdf5853b971e |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: get rid of the mask parameter in pipe_state_add_reg Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a494301f7fd4c93df67396d296a3edc6acfa44c3 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use register mask for PA_CL_CLIP_CNTL Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
97acf2ca59defd3bcba946cdb014ee7b440f9186 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use register mask for PA_CL_VS_OUT_CNTL Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
121940ecc71f0cdc06d8840430931f8a1c7199d4 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set full register mask for PA_CL_CLIP_CNTL We don't set the other bits anywhere else. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a652cc40b9641d0b51e0a8533924a50073a50aae |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use register mask for PA_SU_SC_MODE_CNTL It's always emitted in draw_vbo. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2000086fcd5174f121f61dd6df5948c67101e148 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't add PA_SC_LINE_STIPPLE to rasterizer_state It's always emitted in draw_vbo. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9c0b50ca0b31aa66147ea7919022de2633315c9a |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't set CB_TARGET_MASK in set_framebuffer_state It's emitted in draw_vbo, always. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2ffa8af9db4a4a9cf4cb5bb524bd8a57c53daca0 |
|
29-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set full register mask for CB_COLOR_CONTROL on evergreen We don't set the other bits anywhere else. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e3032a052321ea1fdfbca090618149ae1ed33911 |
|
28-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use a more clever way to disable per-vertex point size This uses point size clamping to force point size to a particular value, making the vertex shader output irrelevant. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b6233f4d2e91edf28e1e5a9a82fdab341ba7dd84 |
|
28-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use register mask for DB_RENDER_CONTROL We don't set the other bits anywhere else except the other DSA states, which are mutually-exclusive with this one. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3d061caaed13b646ff40754f8ebe73f3d4983c5b |
|
28-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup setting DB_SHADER_CONTROL Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a2361946e782b57f0c63587841ca41c0ea707070 |
|
28-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: rework and consolidate stencilref state setting Stop using the register mask. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f183cc9ce3ad1d043bdf8b38fd519e8f437714fc |
|
27-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: set minimum point size to 1.0 for non-sprite non-aa points
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1a9d2b764295f561aa9c24f504bd8cf3f95e7f54 |
|
24-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: fix linear and flat interpolation Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b8f7550a31aabd3e00d2f822bc2587304e676fde |
|
28-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: remove unsupported evergreen CB formats The evergreen+ CB no longer supports the following formats compared to 6xx/7xx: - COLOR_4_4 - COLOR_3_3_2 - COLOR_6_5_5 - COLOR_8_24_FLOAT - COLOR_24_8_FLOAT - COLOR_11_11_10 - COLOR_11_11_10_FLOAT Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c2b800cf38b299c1ab1c53dc0e4ea00c7acef853 |
|
23-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: nuke the fallback for vertex and fragment color clamping
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c9cd170f2e076b096e8fed35eb464482053beb70 |
|
23-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: clean up register headers - CP_INTERRUPT packet doesn't exist - remove lots of r6xx copy/paste remnants from evergreen reg header - fix some cayman specific registers Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
60bf0f05b472e66bf1175fcec7a274dab6f7e2a3 |
|
21-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: set round_mode to truncate and get rid of tgsi_f2i on evergreen Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cb1578336421692454517f9a69dddd37de8fbf7e |
|
21-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: fix some interpolation tests for evergreen Same fix as previously done by Dave Airlie for r600/r700 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
54e8dcaad65cbe3603730414fd8d76ac53f89a86 |
|
20-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: implement clip vertex v2 Clip planes are uploaded as a constant buffer and used by the vertex shader to produce corresponding clip distances for hw clipping. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
91d47296967ebfaf685f3870998ea0a1450ecf55 |
|
15-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: implement clip distances Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
725a820b926575265e6790601a0defd9c30947dc |
|
06-Jan-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: implement two-sided lighting (v3) v2: select the colors in the pixel shader v3: fix rs state creation for pre-evergreen Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5250bd00c00ac8470320f4fae1d74425132f2083 |
|
14-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: add missing r32 uint/sint fbo formats. Fixes the GL3 required formats test. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
bb1f0cf3508630a9a93512c79badf8c493c46743 |
|
02-Dec-2011 |
Jerome Glisse <jglisse@redhat.com> |
r600g: add support for virtual address space on cayman v11 Virtual address space put the userspace in charge of their GPU address space. It's up to userspace to bind bo into the virtual address space. Command stream can them be executed using the IB_VM chunck. This patch add support for this configuration. It doesn't remove the 64K ib size limit thought this limit can be extanded up to 1M for IB_VM chunk. v2: fix rendering v3: fix rendering when using index buffer v4: make vm conditional on kernel support add basic va management v5: catch the case when we already have va for a bo v6: agd5f: update on top of ioctl changes v7: agd5f: further ioctl updates v8: indentation cleanup + fix non cayman v9: rebase against lastest mesa + improvement from Marek & Michel v10: fix cut/paste bug v11: don't rely on updated radeon_drm.h Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
dc4c821f0817a3db716f965692fb701079f66340 |
|
10-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
Squash-merge branch 'gallium-clip-state' Conflicts: src/gallium/auxiliary/tgsi/tgsi_strings.c src/mesa/state_tracker/st_atom_clip.c commit d919791f2742e913173d6b335128e7d4c63c0840 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 17:59:22 2012 +0100 d3d1x: adapt to new clip state commit cfec82bca3fefcdefafca3f4555285ec1d1ae421 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:16:51 2012 +0100 gallium/docs: update for clip state changes commit c02bfeb81ad9f62041a2285ea6373bbbd602912a Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:21:43 2012 +0100 tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS commit d4e0a785a6a23ad2f6819fd72e236acb9750028d Author: Brian Paul <brianp@vmware.com> Date: Thu Jan 5 08:30:00 2012 -0700 tgsi: consolidate TGSI string arrays in new tgsi_strings.h There was some duplication between the tgsi_dump.c and tgsi_text.c files. Also use some static assertions to help catch errors when adding new TGSI values. v2: put strings in tgsi_strings.c file instead of the .h file. Reviewed-by: Dave Airlie <airlied@redhat.com> commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 12:48:09 2012 +0100 gallium: extend user_clip_plane_enable to apply to clip distances commit f1d5016c07f786229ed057effbe55fbfd160b019 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 02:39:09 2012 +0100 nvfx: adapt to new clip state commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 01:41:39 2012 +0100 st/mesa: fix DrawPixels with GL_DEPTH_CLAMP commit c86ad730aa1c017788ae88a55f54071bf222be12 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:51:30 2012 +0100 nv50: adapt to new clip state commit 3a8ae6ac243bae5970729dc4057fe02d992543dc Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:32:36 2012 +0100 nvc0: adapt to new clip state commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Dec 29 01:32:51 2011 +0100 draw: initalize pt.user.planes in draw_init This fixes a crash in glean/fpexceptions. commit e3056524b19b56d473f4faff84ffa0eb41497408 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:26:55 2011 +0100 svga: adapt to new clip state commit c5bfa8b37d6d489271df457229081d6bbb51b4b7 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:11:51 2011 +0100 r600g: adapt to new clip state commit f11890905362f62627c4a28a8255b76eb7de7df2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:10:26 2011 +0100 r300g: adapt to new clip state commit e37465327c79a01112f15f6278d9accc5bf3103f Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:39:16 2011 +0100 draw: adapt to new clip state This adds a regression in the LLVM clipping path. Can anybody see anything wrong with the code? It works for every other case, just glean/fpexceptions crashes when doing the "Infinite clip plane test". commit b474d2b18c72d965eefae4e427c269cba5ce6ba2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:14:59 2011 +0100 u_blitter: don't save/set/restore clip state commit 9dd240ea91f523a677af45e8d0adb9e661e28602 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:11:56 2011 +0100 gallium: don't cso_save/set/restore clip state The enable bits are in the rasterizer state. commit a4f7031179f5f4ad524b34b394214b984ac950f6 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:58:55 2011 +0100 gallium: default depth_clip to 1 depth_clip = !depth_clamp commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:14:19 2011 +0100 trace,util: update state logging to new clip state Also dump the other missing flags. commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 10:43:43 2011 +0100 st/mesa: adapt to new clip state commit b7b656a42fca19d7c85267f42649a206a85a2c72 Author: Marek Olšák <maraeo@gmail.com> Date: Sat Dec 17 15:45:19 2011 +0100 gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e60daf7e25daaaae34c803834079201ef1cc3900 |
|
06-Jan-2012 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: remove obsolete MULTIWRITE comment fs writes all is implemented in the shader on eg+. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
77058335ebc9a1c2a81ec2cf98a8a157065e69d0 |
|
02-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: add missing colorswaps for r8 uint/sint. fixes some warnings in GL3.0 tests. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
543b2331d7b45a29ccd3530daa2389e87e65d89b |
|
08-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement transform feedback r600: DONE. r700: MOSTLY (done but locks up). Evergreen: MOSTLY (done but doesn't work for an unknown reason). The kernel support will come soon.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9608ef5dec4d70024e68a49c64faed9ec7e4d2e0 |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add framebuffer support for 2/10/10/10 integer
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3d441153a1ad6367ed8eecb147716a1cc9c1253f |
|
12-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: fix cb offset for flushed_depth_texture Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
391e33ffbf01180d66d4c4e9a6c91fc17f9feaca |
|
06-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add initial linestipple support. It seems line loop stipple in hardware needs something I don't know, it might need a proper geometry shader who knows. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e532c710c60f0895e32af6562ac2855aa7d5eb63 |
|
04-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: move SPI setup to PS setup SPI semantic indices for PS/VS are now static, so we don't need to update spi config for every shaders combination. We can move the functionality of r600_spi_update to r600(evergreen)_pipe_shader_ps. Flatshade state is now controlled by the global FLAT_SHADE_ENA flag instead of updating FLAT_SHADE for all inputs. Sprite coord still requires the update of spi setup when sprite_coord_enable is first changed from zero (enabled), and then only when it's changed to other non-zero value (enabled for other input). Change to zero (disabling) and back to the same value is handled via global SPRITE_COORD_ENA. New field "sprite_coord_enable" added to "struct r600_pipe_shader" to track current state for the pixel shader. It's checked in the r600_update_derived_state. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5b27b63de64167a84a03d820550e56c4b7bbc69d |
|
05-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: precalculate semantic indices for SPI setup There is no need to duplicate semantic mapping which is done in hw, so get rid of r600_find_vs_semantic_index. TGSI name/sid pair is mapped to the 8-bit semantic index for SPI. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
df121b868a13e7ca76f19d1488b625c02d632a47 |
|
04-Nov-2011 |
Alex Deucher <alexander.deucher@amd.com> |
Revert "r600g: precalculate semantic indices for SPI setup" This reverts commit c15f8569fddac5f8aee77863922fd5bb992cfe8a. This breaks r6xx.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9212637f34c6600daaf162f95ca49e3c42abbc40 |
|
04-Nov-2011 |
Alex Deucher <alexander.deucher@amd.com> |
Revert "r600g: move SPI setup to PS setup" This reverts commit 9804cf3118ae7249098af2a9c78b36f4fb576ee4. This breaks r6xx.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9804cf3118ae7249098af2a9c78b36f4fb576ee4 |
|
04-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: move SPI setup to PS setup SPI semantic indices for PS/VS are now static, so we don't need to update spi config for every shaders combination. We can move the functionality of r600_spi_update to r600(evergreen)_pipe_shader_ps. Flatshade state is now controlled by the global FLAT_SHADE_ENA flag instead of updating FLAT_SHADE for all inputs. Sprite coord still requires the update of spi setup when sprite_coord_enable is first changed from zero (enabled), and then only when it's changed to other non-zero value (enabled for other input). Change to zero (disabling) and back to the same value is handled via global SPRITE_COORD_ENA. New field "sprite_coord_enable" added to "struct r600_pipe_shader" to track current state for the pixel shader. It's checked in the r600_update_derived_state. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c15f8569fddac5f8aee77863922fd5bb992cfe8a |
|
04-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: precalculate semantic indices for SPI setup There is no need to duplicate semantic mapping which is done in hw, so get rid of r600_find_vs_semantic_index. TGSI name/sid pair is mapped to the 8-bit semantic index for SPI. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
faa16dc456f1f910eef24eaa23889be806b513b7 |
|
25-Oct-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: set correct tiling flags in depth info The kernel currently overwrites the flags, but if we stopped doing that, this would break badly.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
866f9b18c68ede63c00917ec9c3dae3524ca8826 |
|
11-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: rename ZS stencil type to UINT (v2) these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
95fd5e5aba2e21ab20cb971506a81c0049b5a694 |
|
10-Oct-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: drop force int type workaround now that we have integer texture types I can drop this workaround so that copies of values is done properly (as floats would fail on some corner cases). Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0110aa09e5898987ee86586e438ac571075eba3a |
|
26-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
r600g/eg: add integer types support adds handling for int texture/vertices to evergreen. TODO r600/700 support. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6101b6d442b06a347c001fe85848d636ab7df260 |
|
11-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: merge r600_bo with r600_resource I have moved 'last_flush' and 'binding' from r600_bo to winsys/radeon. The other members are now part of r600_resource. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e92348b7f5ee2565371dd779f25cc0ede8724886 |
|
24-Sep-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
r600: support polygon offset clamp state
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf |
|
27-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: move border color to be a color union EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2dfabdd0a479a29d23aa6b10a0b6bfeb48e956b2 |
|
15-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: take constantly interpolated values into a/c We could constant interpolated values now and set have_perspective if nothing else is set to avoid a GPU hang. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
de3218664a03ee116ca58db571f90a6914299a81 |
|
15-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: set number type correctly for color buffers. If we get a scaled type assume its a real integer type (as textures are). Also fixup the blend bypass and blend clamp flags on evergreen as per the docs. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b205f53c7fe1a1b63465ad8b55047d7b5490d4b6 |
|
10-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add missing formats to color buffer setup. just playing with EXT_texture_integer, and this was first bug. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
373234ce17555376c5cb57a2cdce3038df3f51cd |
|
14-Sep-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
r600g: Initialize multi VGT related register on Cayman. Prevents lockups with piglit tests draw-elements and draw-vertices using large numbers of vertices. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alex.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1a532ca79a4a87bb86c641a6ca22da0301dc1f62 |
|
11-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: inline some of the winsys r600_get functions
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
23b4ad46268e4b3eb8399cadc448d8747492bd41 |
|
04-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement texture arrays for evergreen
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0d0285ba916d9e25871354441c09b0a8c7c9b844 |
|
30-Aug-2011 |
Christian König <deathsimple@vodafone.de> |
r600g: add support for R4A4 and A4R4 textures. Sampling worked out of the box, but this make them work as surface as well. Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
8fb7f1a8a4cbab5365491b4b41e50ff3f03306c8 |
|
27-Aug-2011 |
Kai Wasserbäch <kai@dev.carbon-project.org> |
r600g: Fix include style As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
754ea4ea76f1d5ac6150090cffe2542bdf178d87 |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: finally enable float depth buffers on evergreen
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
565f39bdb2943bdb94ac3bdf67793c942ff45016 |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: rename resource -> view in create_sampler_view The sampler view is not a resource. Also remove the unused desc variable.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
68c54abb2cfd12a031829e78d721b2480d0c8cc4 |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix depth-stencil on evergreen Such that it actually works in apps which use both. A separate buffer is allocated for stencil. The only exception is the window-system-provided depth-stencil buffer, where depth and stencil share the same buffer. This fixes: - fbo-depthstencil-GL_DEPTH24_STENCIL8-clear - fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-FLOAT-and-USHORT - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8 - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
47dcfb8dab517e2c92af2f4813b0f5ad200b8b07 |
|
07-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: set read/write usage flags for each relocation This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e69dde5233a2fc6ad4c5483d079e1ea3a2123a59 |
|
23-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove dummy function r600_bo_offset Always returned 0.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
dc1c0ca22a1c7fcaef90b787290144d8e3d77c33 |
|
29-Jul-2011 |
Alex Deucher <alexander.deucher@amd.com> |
r600g: fix up vs export handling Certain attributes (position, psize, etc.) don't count as params; they are handled separately by the hw. However, the VS is required to export at least one param and r600_shader_from_tgsi() takes care of adding a dummy export if there is none. Make sure the VS param export count in the SPI properly accounts for this. Note: This is a candidate for the 7.11 branch. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
95ee961f77119826382cfbc617334aed986b72e5 |
|
28-Jul-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: fix vs export count Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39572 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5d0d8366f9ab0ca4c52eb927ab476953daa77f1e |
|
12-Jul-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: emit SQ_LDS_RESOURCE_MGMT Need to be initialized to a reasonable value as compute code may change it. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39119 NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
12265d26ddc72f62de927ac24e12ab41fcd8d1c5 |
|
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
Revert "WIP r600g: depth_buffer_float renderbuffer support on evergreen" This reverts commit 91a52dae97379d118965567b5c11e393996baeb9. Pushed accidentally.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
91a52dae97379d118965567b5c11e393996baeb9 |
|
21-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
WIP r600g: depth_buffer_float renderbuffer support on evergreen
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7e591111bf783d94ee6034287cde2f4c9214e810 |
|
09-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Get rid of some superfluous braces. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b3b946b0ab88c1d7edeab183d8ad5125ba223392 |
|
09-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Store the chip class in r600_pipe_context. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3fccc14b2fb35aef95bc04dee46e280a48679299 |
|
05-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Get rid of the state_inlines headers. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
18cdb9c8abfb5d9f009fcb36ab788f48792207e4 |
|
05-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Use the actual Evergreen functions to query format support on Evergreen. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
feec48114b261f43c8dc94c06cfccea3b6ef1689 |
|
25-Jun-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFS Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
eafd331cf3b024001abd3f64861f41cd33a9acb2 |
|
24-Jun-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: implement fragment and vertex color clamp Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440 Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2743851c1a73305dd83e42b99edc49906d9c0a51 |
|
07-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: move depth texture flushing out of line. this needs a piglit run. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fe3a3434412482ff1b0a113e1008fd7dd7b42359 |
|
08-Jun-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: fix mixup in GPR resource reg setup GLOBAL_GPR regs should be 0. Need to set the number of temp regs in SQ_GPR_RESOURCE_MGMT_1. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
19b9e523c5db746b2debed8306d9d3e4d2f709aa |
|
08-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: missed one line in eg dyn gpr fallback. need more sleep or something. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
190bfea2deb9a3440aa35469f8651c0e8af377c7 |
|
08-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: condition evergreen dyn gpr resource management So only with kernel version 2.7 can this work, thanks to Alex for pointing that out. Also add a workaround for a hw bug. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c1f9884bbf580ea4390cc71d1696c87eba9f8f2e |
|
08-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: enable dynamic GPR resource management on evergreen Evergreen can do this as well as cayman, so we should enable it. This fixes a gpu lockup with glsl-vs-vec4-indexing-temp-dst-in-nested-loop-combined.shader_test I need to add a better workaround for r600/r700. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cf0f02e501eb2eb8edcf2c4f6db826b0cdd31c9b |
|
03-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: move resource setting to its own structures. resource setting could be a fair bit more lightweight, this patch just separates the resource structs from the standard reg tracking structs in the driver, later patches will improve the winsys. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
51d0892ee2daaa442a48abff2329e1485dd337e8 |
|
03-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: sampler and texture state doesn't need a range/block. These are handled separately in the winsys, so don't need the calculations done at this point. this manifested as a crash in point-sprite, Thanks to XoD on #radeon for pointing it out. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
573758fd094431c8b3220786cea28dfdb4cfad1c |
|
02-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: decrease CPU time on set buffer resources This splits the initialisation and the setting of values in the resource buffers. We only should end up initialising once and updateing with new values when needed. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7f6672f6a737bc1c47e36c9567bd6d908855ce4d |
|
02-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: prepare for passing ctx into _r600_pipe_state_add_reg This moves the functions down the file, and also adds a ctx parameter. This is precursor patch just moving stuff around and getting it ready. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
414cd5df50435f475d92b02c229453d037369c0f |
|
04-Apr-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add llano support Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
017cd5dcc36816e7aef5a7810b8a79d5c8ef777d |
|
25-May-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: fix eg/cayman scissor workaround Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
868c04205c3859a816593595aa513ee603f736ad |
|
25-May-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add workaround for buggy hw scissor on eg/cayman. This is ported from the same fix to the DDX. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7779f6d1dffde2c0501e44adc342e52803de08d4 |
|
09-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add initial cayman acceleration support. Cayman is the RadeonHD 69xx series of GPUs. This adds support for 3D acceleration to the r600g driver. Major changes: Some context registers moved around - mainly MSAA and clipping/guardband related. GPR allocation is all dynamic no vertex cache - all unified in texture cache. 5-wide to 4-wide shader engines (no scalar or trans slot) - some changes to how instructions are placed into slots - removal of END_OF_PROGRAM bit in favour of END flow control clause - no vertex fetch clause - TC accepts vertex or texture Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3c5e74186244f2d77cc711d2b487283459ed06ad |
|
21-May-2011 |
Christian König <deathsimple@vodafone.de> |
r600g: fix "Fixed-Point Data Conversions" According to OpenGL 3.1 chapter 2.1.5 the representation without zero should only be used for vertex attribute values, but not for textures or frame-buffers.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b9e8ea6a2717422ea71887beda093fe1dfbd1200 |
|
09-May-2011 |
Jerome Glisse <jglisse@redhat.com> |
r600g: anisotropic filtering support for evergreen hw Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d931b0d8b360fc0222d295eca38aaee3e4e5d0be |
|
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement seamless_cube_map for evergreen The r600/r700 support will follow soon.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
31d27259b6d682f69866ace89ffaac5294e8bf62 |
|
06-May-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add back SOURCE_FORMAT setting that get accidently dropped Spotted by Henri Verbeet Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5939bc03bc15b9b1131463ffad04a7b2d987074d |
|
06-May-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: fix up the rules for enabling SOURCE_FORMAT(EXPORT_NORM) Setting SOURCE_FORMAT to EXPORT_NORM is an optimization. Leaving SOURCE_FORMAT at 0 will work in all cases, but is less efficient. The conditions for the setting the EXPORT_NORM optimization are as follows: R600/RV6xx: BLEND_CLAMP is enabled BLEND_FLOAT32 is disabled 11-bit or smaller UNORM/SNORM/SRGB R7xx/evergreen: 11-bit or smaller UNORM/SNORM/SRGB 16-bit or smaller FLOAT Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f60235e73a5260f92630ce472e06d8c5c00414fb |
|
05-May-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Match alpha ref precision to color format precision. This fixes piglit fbo-alphatest-formats on Evergreen. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
929b3d82334e217641c3f39e7914a90dadc6e6b2 |
|
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove some more FIXME comments
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0d5ceb5891185600e73e10db9832207fdbaaab80 |
|
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove some FIXME comments All texture LOD tests pass.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
72c6a748b9ffdaa893f82faf911f22a241a5e4f5 |
|
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
Revert "r600g: truncate point sampled texture coordinates" This reverts commit 1dc204d145dc8c0b19473a7814c201a8954b6274. MC_COORD_TRUNCATE is for MPEG and produces quite an interesting behavior on regular textures. Anyway that commit broke filtering in demos/cubemap.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b2a98c3531c276b76024bb9b10fdd6c3360cb0c9 |
|
25-Apr-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Unify comment style somewhat. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d7577ae3a6d6e174ab36d244f6bd4dedd63c3d1d |
|
25-Apr-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Cleanup the big endian support a bit. In particular, make sure the code is at least compiled on little endian systems. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6067a2a67f9a7aab2aee051469bea8af03747a95 |
|
20-Apr-2011 |
Fredrik Höglund <fredrik@kde.org> |
r600g: don't flush the dest caches on every draw Keep track of when the caches are dirty, and only flush them when the framebuffer state is set and when the context is flushed. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
08d1c91e6c185a186e49189b7ed48629f35a4659 |
|
19-Apr-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add evergreen+ big endian support Based on Cédric's r6xx/r7xx patch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
66866d642fe8f8fba141d50a81b08793c3bd63e8 |
|
19-Apr-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add cb support for snorm formats. Check for signed type and enable SNORM. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3e15fa86d7bb50ae1b97f8962d2f17bfe72d5263 |
|
07-Apr-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Use symbolic names for NUMBER_TYPE. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3f8455d07b129062885f58237516ae0d1aa339ea |
|
06-Apr-2011 |
Julian Adams <joolsa@gmail.com> |
r600g: Fix non-independent blend state. This fixes piglit fbo/fbo-drawbuffers-blend-add. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d04ab396a54d29948363c3353efa5aaa888076a3 |
|
29-Mar-2011 |
Fredrik Höglund <fredrik@kde.org> |
r600g: implement texture barrier
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1a8dc1539b59ab61a6f81a4de32b69978dded7ff |
|
14-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Properly update MULTIWRITE_ENABLE in r600_pipe_shader_ps(). This sort of worked because blend state setup cleared MULTIWRITE_ENABLE again, but that's not something we want to depend on. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ab1a2e454eaeb798b7c4b782877f58266ebab3a1 |
|
14-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Fix the DB_SHADER_CONTROL mask in create_ds_state(). Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2342e89979a66bb8438e1a2d5f8b6fedbf3ec340 |
|
14-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Properly update DB_SHADER_CONTROL in evergreen_pipe_shader_ps(). Disable Z_EXPORT / STENCIL_EXPORT / KILL_ENABLE again if a shader doesn't use those. This is similar to 0a6f09a76a416b8672e149c520aa5bef33174223. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a2ef38368b638caba26418a68c157d52b6bcf797 |
|
14-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Move fetch shader register setup to r600_state.c / evergreen_state.c. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
cbcb84fccf0e7a9450a10bc1daf3572ab9a4955c |
|
11-Mar-2011 |
Adam Jackson <ajax@redhat.com> |
r600g: revert unintentional commit
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b5872cdda08c8db8bd24bc0bd3e2cd9dd8878ef2 |
|
11-Mar-2011 |
Adam Jackson <ajax@redhat.com> |
r600: Build fix r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
929be6eb95c33d5885a89b36dbc82db64c1344fe |
|
01-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: start using drm minor version to enable things. If the drm minor version is > 9 (i.e. whats in drm-next), we enable s3tc + texture tiling by default now. this changes R600_FORCE_TILING to R600_TILING which can be set to false to disable tiling on working drm. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1dc204d145dc8c0b19473a7814c201a8954b6274 |
|
01-Mar-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: truncate point sampled texture coordinates By default the hardware rounds texcoords. However, for point sampled textures, the expected behavior is to truncate. When we have point sampled textures, set the truncate bit in the sampler. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=25871 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
231bf886dae9c7df0ae3e16acee904024a08824f |
|
17-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: get s3tc working on cards with crappy 64/128 bit types. Some cards don't appear to work correctly with the UNORM type, so switch to the integer type, however since gallium has no integer types yet from what I can see we need to do a hack to workaround it for the blitter. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a661dacf143d7187abc2360ac945db75296f7e23 |
|
15-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: fix miptree calculations the miptree setup and pitch storing didn't work so well for block based things like compressed textures. The CB takes blocks, where the texture sampler takes pixels, and transfers need bytes, So now we store blocks/bytes and translate to pixels in the sampler. This is necessary for s3tc to work properly.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ea7a548d07ddc69c226a425af0f88f818203d6ee |
|
14-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: drop tiled flag we can work this out from the array_mode and it makes more sense to do that. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
588fa884d212eba5ffbc69fda75db37d7c77214c |
|
09-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: notify drivers about possible changes in user buffer contents Also implement the redefine_user_buffer hook in the drivers.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9d85aba0e392250ecea0377f9aa9691bd02622e0 |
|
11-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: drop two unused | 0 that are actually in word4 anyways. these were NOPs anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0d851f6e9c6046052ddce3860e625537832530a0 |
|
10-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: handle 16/32 u/s norm formats properly add support for the 32-bit types, also fixup the export setting to handle types with channels > 11 bits properly Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
077c448d184799e0d9ec962013ec784c6a5c1807 |
|
07-Feb-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Add support for relative addressing on constant buffers. Relative addressing of constant buffers can't work properly through the kcache, since you can only address within the currently locked kcache window. Instead, this patch binds the constant buffer as a shader resource, and then explicitly fetches the constant using a vertex fetch with fetch type VTX_FETCH_NO_INDEX_OFFSET from the shader. There's probably still some room for improvement, doing the fetch right before the instruction that needs the value may not be quite optimal for example.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5c59eebfae55240a2308c02b0a6ad971c9b83304 |
|
07-Feb-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Generalize the pipe_add_vertex_attrib() functions. This allows them to be used for VS or PS buffer resources as well.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
780c183b8fdf2d301e1eea7f0b83cd96fb6cbf84 |
|
06-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: use surface format not underlying texture format This uses the surface format to set the CB up not the underlying texture format, since these can and do differ. Fixes piglit fbo-srgb.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3188a7deb3d8bcaee647de27831c0f62b17a6ea9 |
|
04-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: don't set tile_type on evergreen. Since we never bind the actual DB to the CB/texture only the flushed one we don't need to track the tile type at the moment.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fdd35dc91220046ed66877e60479f155e3a23690 |
|
04-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: fix evergreen sampler view + depth interaction
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
8c643446f982892aeec4298977fbbe1ab92206fb |
|
04-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: evergreen CB check for flushed texture
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3e9bc43fbafdd497d475eaffe0deec81b446d122 |
|
04-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add a flag to just create flushed texture without flushing. This just adds a flag to create the texture without doing any flushing to it. Flushing occurs in the draw function. This avoids unnecessary flushes when we end up rebinding a CB/DB/texture due to the blitter just restoring state. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
11bc8991e94e2fa6d461193a6aff47f8f94b7a47 |
|
01-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: just change tile type when buffer is set to depth. Not 100% sure on this one, but this is how it should work, the question is whether it will uncover other bugs elsewhere.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
8b5a50b31ca272ab8761e2a31025a54d8999ec06 |
|
01-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: fix evergreen for depth decompress test
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
42b5f6819881e4885ff73a17635eb7d2d341563d |
|
29-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: start looking at evergreen tiling. this just adds the ioctl interface and sets the tile type and array mode in the correct place. This seems to bring eg 1D tiling to the same level, and issues as on r600. No idea how to address 2D yet.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d171ae086bae37279251a1d6f32e16e333cfc154 |
|
01-Feb-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Actually use the info from the flushed depth texture when creating a sampler view on a depth texture. R600/R700 was using incorrect tiling information from the (compressed) depth buffer. Evergreen worked anyway because tiling doesn't work.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5555cd776b970bce020be59193054474a2a63317 |
|
31-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: handle the write all cbufs property. This only works on r600/r700 so far, evergreen doesn't appear to have the multiwrite enable bit in the color control, so we may have to actually do a shader rewrite on EG hardware. remove some duplicate code reg defines also. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
15730a8207374936e354d945730070cb29c9547c |
|
29-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate set_constant_buffer functions
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
73fb2b7c9074c8878e8ff617ad6d6a21b93b66f2 |
|
29-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate vertex_buffer_update functions
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2d7738eb2bee41656953d1173926f546c6711bad |
|
28-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: consolidate draw_vbo functions (v2) Added a conditional to spi_update per Dave's comment.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5cefe1eddd4854490aebdf4f138ffb07aa59073c |
|
28-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: make r600_drawl inherit pipe_draw_info
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
02f8f134643f631364ca621fe0b6d6b72449e00c |
|
28-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: add back u_upload_mgr integration I can't see a performance difference with this code, which means all the driver-specific code removed in this commit was unnecessary. Now we use u_upload_mgr in a slightly different way than we did before it got dropped. I am not restoring the original code "as is" due to latest u_upload_mgr changes that r300g performance benefits from. This also fixes: - piglit/fp-kil
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5a2abf7a854cef3ae635f74dd0e580d603a92a21 |
|
15-Jan-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Fix some register value name typos. SFR -> SRF.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6d9ca78ef7bf831b9b63f4bda68623cbae627508 |
|
07-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: allow constant buffers to be user buffers. This provides an upload facility for the constant buffers since Marek's constants in user buffers changes. gears at least work on my evergreen now. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f54366bcf61a414885abb9f7f47e897598a80859 |
|
07-Jan-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add support for NI (Northern Islands) GPUs This adds support for Barts, Turks, and Caicos asics.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ca8b4ca4788545a3f85efd7904f1a07b95f00c86 |
|
22-Dec-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Remove the unused "pframebuffer" field from r600_pipe_context.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f431e0452b33ca9028e07cd85783297df6e87e69 |
|
22-Dec-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop unused code in evergreen. this code was pretty much duplicated, thanks to Henri Verbeet on irc for pointing it out. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fa62cf7450595b3d99259b5a212df301ca711d4b |
|
21-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: avoid segfault Candidates 7.10 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
abe9ffc25c8d65b48ae02cdc8445b212b9f61632 |
|
20-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: properly unset vertex buffer Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455 Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
54773415f407678eb9728ac347cc8302e2d76c74 |
|
14-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix segfault when translating vertex buffer Note the support for non float vertex draw likely regressed need to find what we want to do there. candidates for 7.10 branches Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7055068eeae7f64166cca513282829d5a3e9b9d3 |
|
08-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: specialized upload manager Allow important performance increase by doing hw specific implementation of the upload manager helper. Drop the range flushing that is not hit with this code (and wasn't with previous neither). Performance improvement are mostly visible on slow CPU. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
69251fc4cd5f71be403e08398bc43d19052a640d |
|
07-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: remove dead code Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
afc56b1861c1dae4137493af4c0e6dacc6ee41f9 |
|
06-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: avoid useless shader rebuild at draw call Avoid rebuilding constant shader state at each draw call, factor out spi update that might change at each draw call. Best would be to update spi only when revealent states change (likely only flat shading & sprite point). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fa86fc564aea4e40c89f6fc889e6a5bf817634b3 |
|
04-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: build fetch shader from vertex elements Vertex elements change are less frequent than draw call, those to avoid rebuilding fetch shader to often build the fetch shader along vertex elements. This also allow to move vertex buffer setup out of draw path and make update to it less frequent. Shader update can still be improved to only update SPI regs (based on some rasterizer state like flat shading or point sprite ...). Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
119f00659c03c48cfab0f2770dd6b6fb89af31e4 |
|
03-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: indentation fix Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0b841b0349d7aca218eac4e9d9b7b1406ad71944 |
|
03-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: update polygon offset only when rasterizer or zbuffer change Aim is to build as little state as possible in draw functions. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
4c7001462607e6e99e474d6271dd481d3f8f201c |
|
02-Dec-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: support for array textures and related changes resources have a array_size parameter now. get_tex_surface and tex_surface_destroy have been renamed to create_surface and surface_destroy and moved to context, similar to sampler views (and create_surface now uses a template just like create_sampler_view). Surfaces now really should only be used for rendering. In particular they shouldn't be used as some kind of 2d abstraction for sharing a texture. offset/layout fields don't make sense any longer and have been removed, width/height should go too. surfaces and sampler views now specify a layer range (for texture resources), layer is either array slice, depth slice or cube face. pipe_subresource is gone array slices (or cube faces) are now treated the same as depth slices in transfers etc. (that is, they use the z coord of the respective functions). Squashed commit of the following: commit a45bd509014743d21a532194d7b658a1aeb00cb7 Merge: 1aeca28 32e1e59 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 04:32:06 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_resource_texture.c src/gallium/drivers/i915/i915_state_emit.c src/gallium/drivers/i915/i915_surface.c commit 1aeca287a827f29206078fa1204715a477072c08 Merge: 912f042 6f7c8c3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 00:37:11 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/st_inlines.h src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/vega/vg_manager.c commit 912f042e1d439de17b36be9a740358c876fcd144 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 03:01:55 2010 +0100 gallium: even more compile fixes after merge commit 6fc95a58866d2a291def333608ba9c10c3f07e82 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 00:22:26 2010 +0100 gallium: some fixes after merge commit a8d5ffaeb5397ffaa12fb422e4e7efdf0494c3e2 Merge: f7a202f 2da02e7 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 30 23:41:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_state_emit.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/vg_context.c commit f7a202fde2aea2ec78ef58830f945a5e214e56ab Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 19:19:32 2010 +0100 gallium: even more fixes/cleanups after merge commit 6895a7f969ed7f9fa8ceb788810df8dbcf04c4c9 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 03:07:36 2010 +0100 gallium: more compile fixes after merge commit af0501a5103b9756bc4d79167bd81051ad6e8670 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 19:24:45 2010 +0100 gallium: lots of compile fixes after merge commit 0332003c2feb60f2a20e9a40368180c4ecd33e6b Merge: 26c6346 b6b91fa Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 17:02:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/gallivm/lp_bld_sample.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_blitter.c src/gallium/auxiliary/util/u_inlines.h src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/util/u_surfaces.c src/gallium/docs/source/context.rst src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nvfx/nv04_surface_2d.c src/gallium/drivers/nvfx/nv04_surface_2d.h src/gallium/drivers/nvfx/nvfx_buffer.c src/gallium/drivers/nvfx/nvfx_miptree.c src/gallium/drivers/nvfx/nvfx_resource.c src/gallium/drivers/nvfx/nvfx_resource.h src/gallium/drivers/nvfx/nvfx_state_fb.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_buffer.c src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_screen.h src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/include/pipe/p_defines.h src/gallium/state_trackers/egl/common/egl_g3d_api.c src/gallium/state_trackers/glx/xlib/xm_st.c src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c src/gallium/targets/libgl-gdi/libgl_gdi.c src/gallium/tests/graw/tri.c src/mesa/state_tracker/st_cb_blit.c src/mesa/state_tracker/st_cb_readpixels.c commit 26c6346b385929fba94775f33838d0cceaaf1127 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:37:21 2010 +0200 fix more merge breakage commit b30d87c6025eefe7f6979ffa8e369bbe755d5c1d Merge: 9461bf3 1f1928d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:15:38 2010 +0200 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_rast_priv.h src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_screen_buffer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_texture.h src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/drivers/r600/r600_texture.h src/gallium/state_trackers/dri/common/dri1_helper.c src/gallium/state_trackers/dri/sw/drisw.c src/gallium/state_trackers/xorg/xorg_exa.c commit 9461bf3cfb647d2301364ae29fc3084fff52862a Merge: 17492d7 0eaccb3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jul 15 20:13:45 2010 +0200 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_surface.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/tests/trivial/quad-tex.c commit 17492d705e7b7f607b71db045c3bf344cb6842b3 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Jun 18 10:58:08 2010 +0100 gallium: rename element_offset/width fields in views to first/last_element This is much more consistent with the other fields used there (first/last level, first/last layer). Actually thinking about removing the ugly union/structs again and rename first/last_layer to something even more generic which could also be used for buffers (like first/last_member) without inducing headaches. commit 1b717a289299f942de834dcccafbab91361e20ab Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 14:46:09 2010 +0100 gallium: remove PIPE_SURFACE_LAYOUT_LINEAR definition This was only used by the layout field of pipe_surface, but this driver internal stuff is gone so there's no need for this driver independent layout definition neither. commit 10cb644b31b3ef47e6c7b55e514ad24bb891fac4 Merge: 5691db9 c85971d Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 12:20:41 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/docs/source/glossary.rst src/gallium/tests/graw/fs-test.c src/gallium/tests/graw/gs-test.c commit 5691db960ca3d525ce7d6c32d9c7a28f5e907f3b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 11:29:03 2010 +0100 st/wgl: fix interface changes bugs commit 2303ec32143d363b46e59e4b7c91b0ebd34a16b2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:32 2010 +0100 gallium: adapt code to interface changes... commit dcae4f586f0d0885b72674a355e5d56d47afe77d Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:05 2010 +0100 gallium: separate depth0 and array_size in the resource itself. These fields are still mutually exclusive (since no 3d array textures exist) but it ultimately seemed to error-prone to adapt all code accept the new meaning of depth0 (drivers stick that into hardware regs, calculate mipmap sizes etc.). And it isn't really cleaner anyway. So, array textures will have depth0 of 1, but instead use array_size, 3D textures will continue to use depth0 (and have array_size of 1). Cube maps also will use array_size to indicate their 6 faces, but since all drivers should just be fine by inferring this themselves from the fact it's a cube map as they always used to nothing should break. commit 621737a638d187d208712250fc19a91978fdea6b Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:47:38 2010 +0100 gallium: adapt code to interface changes There are still usages of pipe_surface where pipe_resource should be used, which should eventually be fixed. commit 2d17f5efe166b2c3d51957c76294165ab30b8ae2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:46:14 2010 +0100 gallium: more interface changes In particular to enable usage of buffers in views, and ability to use a different pipe_format in pipe_surface. Get rid of layout and offset parameter in pipe_surface - the former was not used in any (public) code anyway, and the latter should either be computed on-demand or driver can use subclass of pipe_surface. Also make create_surface() use a template to be more consistent with other functions. commit 71f885ee16aa5cf2742c44bfaf0dc5b8734b9901 Merge: 3232d11 8ad410d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 14:19:51 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_box.h src/gallium/drivers/nv50/nv50_surface.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_screen.h src/gallium/include/pipe/p_state.h commit 3232d11fe3ebf7686286013c357b404714853984 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:40:04 2010 +0100 mesa/st: adapt to interface changes still need to fix pipe_surface sharing (as that is now per-context). Also broken is depth0 handling - half the code assumes this is also used for array textures (and hence by extension of that cube maps would have depth 6), half the code does not... commit f433b7f7f552720e5eade0b4078db94590ee85e1 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:35:52 2010 +0100 gallium: fix a couple of bugs in interface chnage fixes commit 818366b28ea18f514dc791646248ce6f08d9bbcf Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:42:11 2010 +0200 targets: adapt to interface changes Yes even that needs adjustments... commit 66c511ab1682c9918e0200902039247793acb41e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:41:13 2010 +0200 tests: adapt to interface changes Everything needs to be fixed :-(. commit 6b494635d9dbdaa7605bc87b1ebf682b138c5808 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:39:50 2010 +0200 st: adapt non-rendering state trackers to interface changes might not be quite right in all places, but they really don't want to use pipe_surface. commit 00c4289a35d86e4fe85919ec32aa9f5ffe69d16d Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:38:48 2010 +0200 winsys: adapt to interface changes commit 39d858554dc9ed5dbc795626fec3ef9deae552a0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:54 2010 +0200 st/python: adapt to interface changes don't think that will work, sorry. commit 6e9336bc49b32139cec4e683857d0958000e15e3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:07 2010 +0200 st/vega: adapt to interface changes commit e07f2ae9aaf8842757d5d50865f76f8276245e11 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:25:56 2010 +0200 st/xorg: adapt to interface changes commit 05531c10a74a4358103e30d3b38a5eceb25c947f Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:53 2010 +0200 nv50: adapt to interface changes commit 97704f388d7042121c6d496ba8c003afa3ea2bf3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:45 2010 +0200 nvfx: adapt to interface changes commit a8a9c93d703af6e8f5c12e1cea9ec665add1abe0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:01 2010 +0200 i965g: adapt to interface changes commit 0dde209589872d20cc34ed0b237e3ed7ae0e2de3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:22:38 2010 +0200 i915g: adapt to interface changes commit 5cac9beede69d12f5807ee1a247a4c864652799e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:58 2010 +0200 svga: adapt to interface changes resource_copy_region still looking fishy. Was not very suited to unified zslice/face approach... commit 08b5a6af4b963a3e4c75fc336bf6c0772dce5150 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:01 2010 +0200 rbug: adapt to interface changes Not sure if that won't need changes elsewhere? commit c9fd24b1f586bcef2e0a6e76b68e40fca3408964 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:31 2010 +0200 trace: adapt to interface changes commit ed84e010afc5635a1a47390b32247a266f65b8d1 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:21 2010 +0200 failover: adapt to interface changes commit a1d4b4a293da933276908e3393435ec4b43cf201 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:12 2010 +0200 identity: adapt to interface changes commit a8dd73e2c56c7d95ffcf174408f38f4f35fd2f4c Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:55 2010 +0200 softpipe: adapt to interface changes commit a886085893e461e8473978e8206ec2312b7077ff Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:44 2010 +0200 llvmpipe: adapt to interface changes commit 70523f6d567d8b7cfda682157556370fd3c43460 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:14 2010 +0200 r600g: adapt to interface changes commit 3f4bc72bd80994865eb9f6b8dfd11e2b97060d19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:05 2010 +0200 r300g: adapt to interface changes commit 5d353b55ee14db0ac0515b5a3cf9389430832c19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:17:37 2010 +0200 cell: adapt to interface changes not even compile tested commit cf5d03601322c2dcb12d7a9c2f1745e2b2a35eb4 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:14:59 2010 +0200 util: adapt to interface changes amazing how much code changes just due to some subtle interface changes? commit dc98d713c6937c0e177fc2caf23020402cc7ea7b Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:12:40 2010 +0200 gallium: more interface fail, docs this also changes flush_frontbuffer to use a pipe_resource instead of a pipe_surface - pipe_surface is not meant to be (or at least no longer) an abstraction for standalone 2d images which get passed around. (This has also implications for the non-rendering state-trackers.) commit 08436d27ddd59857c22827c609b692aa0c407b7b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 10 17:42:52 2010 +0200 gallium: fix array texture interface changes bugs, docs commit 4a4d927609b62b4d7fb9dffa35158afe282f277b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 3 22:02:44 2010 +0200 gallium: interface changes for array textures and related cleanups This patch introduces array textures to gallium (note they are not immediately usable without the associated changes to the shader side). Also, this abandons pipe_subresource in favor of using level and layer parameters since the distinction between several faces (which was part of pipe_subresource for cube textures) and several z slices (which were not part of pipe_subresource but instead part of pipe_box where appropriate for 3d textures) is gone at the resource level. Textures, be it array, cube, or 3d, now use a "unified" set of parameters, there is no distinction between array members, cube faces, or 3d zslices. This is unlike d3d10, whose subresource index includes layer information for array textures, but which considers all z slices of a 3d texture to be part of the same subresource. In contrast to d3d10, OpenGL though reuses old 2d and 3d function entry points for 1d and 2d array textures, respectively, which also implies that for instance it is possible to specify all layers of a 2d array texture at once (note that this is not possible for cube maps, which use the 2d entry points, although it is possible for cube map arrays, which aren't supported yet in gallium). This should possibly make drivers a bit simpler, and also get rid of mutually exclusive parameters in some functions (as z and face were exclusive), one potential downside would be that 3d array textures could not easily be supported without reverting this, but those are nowhere to be seen. Also along with adjusting to new parameters, rename get_tex_surface / tex_surface_destroy to create_surface / surface_destroy and move them from screen to context, which reflects much better what those do (they are analogous to create_sampler_view / sampler_view_destroy). PIPE_CAP_ARRAY_TEXTURES is used to indicate if a driver supports all of this functionality (that is, both sampling from array texture as well as use a range of layers as a render target, with selecting the layer from the geometry shader).
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
0e4c5f63b9023b292b88b2f0d5d0f6154e8ad263 |
|
22-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add support for ontario APUs Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c63a86e1e5665fb5cd94de42d6c59171398e12ee |
|
20-Nov-2010 |
Owen W. Taylor <otaylor@fishsoup.net> |
r600g: Fix location for clip plane registers The stride between the different clip plane registers was incorrect. https://bugs.freedesktop.org/show_bug.cgi?id=31788 agd5f: fix evergreen as well.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
04ffbe1ac6a82ac5cce843afa15ffdfa4ef78103 |
|
19-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: use full range of VS resources for vertex samplers Now that we have fetch shaders, the full range of VS resources can be used for sampling.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f609b2ab0342d77a8beca9efb5fbc5b66ff98295 |
|
18-Nov-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: add fetch shader capabilities Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7ffd4e976fd11b8c083c2927effd25a2f79ac841 |
|
17-Nov-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: code cleanup (indent, trailing space, empty line ...) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7d0f45563d5426f0ad633bed1561c7455804b807 |
|
17-Nov-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Swizzle vertex data only once. Vertex data swizzles are already done in the vertex shader. Doing them twice breaks BGRA vertex arrays for example.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
aa3113ae20e42b5c519936a5dc565275b1ae3ab2 |
|
15-Nov-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Evergreen has two extra frac_bits for the sampler LOD state. The (piglit) mipmap_limits test shows the issue very clearly.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
32bb65217ed048817d314062f2804c79f80d0ec7 |
|
03-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
evergreeng: set hardware pixelcenters according to gl_rasterization_rules
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d6b6a0bc170bd61abbbe9cb6ba777c7192dbd018 |
|
01-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
evergreeng: respect linewidth state, use integer widths only Discard fractional bits from linewidth. This matches the nvidia closed drivers, my reading of the OpenGL SI and current llvmpipe behaviour. It looks a lot nicer & avoids ugliness where lines alternate between n and n+1 pixels in width along their length. Also fix up r600g to match.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b3462601cb69f277b9aafc2ee5179a0c2cf6cbcd |
|
03-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
evergreeng: protect against null constant buffers Should do better than this and actually unbind the buffer, but haven't yet gotten it to work.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2d2bafdb30110e83b7e14017326a454d7e7f37f3 |
|
14-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix magic 0x1 ->flat shade ena
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a20c2347a0bb9e0e1591b070ee5d0cac81168114 |
|
24-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop more common state handling code
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9612b482e2c8e994709bcaab79185224b4d76670 |
|
23-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: merge more of the common r600/evergreen state handling
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9f9d24c89a2286f952b123c703e8268d2f1aa719 |
|
23-Oct-2010 |
Tilman Sauerbeck <tilman@code-monkey.de> |
r600g: Fixed r600_vertex_element leak. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
f39e6c9c816b603a4ed8fd8cda8569b7e13c1f68 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: start splitting out common code from eg/r600. no point duplicating code that doesn't touch hw, also make it easier to spot mistakes
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
91e513044de21f20c2c085a99e9d784c7a61173c |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add r600 surface to store the aligned height. we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ea5aab85fd195074189832c2d6870dd78f0f8966 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: move to per-miplevel array mode. Since the hw transitions from 2D->1D sampling below the 2D macrotile size we need to keep track of the array mode per level so we can render to it using the CB.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a1b7333c07797faea29f50fd49b6c5e877beca0a |
|
17-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: do proper tracking of views/samplers. we need to do pretty much what r300g does in for this, this fixes some issues seen while working on tiling.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fc6caef4cb67fb13642c5ebccee53019d1764df6 |
|
14-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: evergreen interpolation support. On evergreen, interpolation has moved into the fragment shader, with the interpolation parmaters being passed via GPRs and LDS entries. This works out the number of interps required and reserves GPR/LDS storage for them, it also correctly routes face/position values which aren't interpolated from the vertex shader. Also if we noticed nothing is to be interpolated we always setup perspective interpolation for one value otherwise the GPU appears to lockup. This fixes about 15 piglit tests on evergreen.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ff4b397517a374ac3d4bf437f85ae6a96171a714 |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix stencil export for evergreen harder
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
92e729bba5aab9958f5ba1339c27f6bfe743ef2e |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: evergreen add stencil export bit
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
e3b089126c63c7178d725fbe245ca09d3f9edba1 |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: remove bpt and start using pitch_in_bytes/pixels. this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
fa797f12b3e1e82020eb7bc8fd0181baa7515efe |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: rename pitch in texture to pitch_in_bytes
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
c8d4108fbee679735a1cc3f405d848d01bfb23f6 |
|
12-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: store samplers/views across blit when we need to modify them also fixup framebuffer state copies to avoid bad state.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
a8d1d7253ed281fd5c3a8a86658998eb5b9af847 |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix scissor/cliprect confusion gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3322416de44f27974edaba2aee8b2d2d21de6a8f |
|
11-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: don't run with scissors. This could probably be done much nicer, I've spent a day chasing a coherency problem in the kernel, that turned out to be incorrect scissor setup.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ea1d818b58d6ff9e4cd0c40eb865beabde8f268c |
|
11-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: enable vertex samplers. We need to move the texture sampler resources out of the range of the vertex attribs. We could probably improve this using an allocator but this is the simple answer for now. makes mesa-demos/src/glsl/vert-tex work.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
2c47f302af48fe2a464230efb63dfe543740d1fb |
|
08-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: evergreen has no request size bit in texture word4
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
bd89da79a1acc8b896a7f5afc71435befe2ff7e4 |
|
08-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix input/output Z export mixup for evergreen.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
97eea87bde5d05f247580aeb2963ac2476417bd5 |
|
07-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: use format from the sampler view not from the texture. we want to use the format from the sampler view which isn't always the same as the texture format when creating sampler views.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
9528fc2107d4cae39bc932c1943ffc57ebc92499 |
|
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add evergreen stencil support. this sets the stencil up for evergreen properly.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d2c06b5037fe9282cbbc0c7acd84a1b286716507 |
|
05-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop use_mem_constant. since we plan on using dx10 constant buffers everywhere.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d22a1247d8a709cf433a6dd99b2f87a224c27d88 |
|
04-Oct-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: allow r600_bo to be a sub allocation of a big bo Add bo offset everywhere needed if r600_bo is ever a sub bo of a bigger bo. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
294c9fce1b924beddf198a3cce738b88eabb5537 |
|
04-Oct-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: rename radeon_ws_bo to r600_bo Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
738aa29289296512959cbb37d8602131dae44dab |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: setup basic loop consts on r600 + evergreen. this sets up a single loop constant like r600c does.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7777c997e0f4cf75ff292f34a5a64ee2834c0f26 |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: only set the Z export if shader exports it.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
d662195f00fe60349cdda368eeb065910764842f |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fixup vertex format picking. there are some vertex formats defined in r600c not in the docs.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
35cfe286d69206d3108c7a8702bd4be6521b5706 |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: realign evergreen code with r600 code. fixes segfault in depth-tex-modes-glsl and OA startup.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5eccdc62b998a6b3a82d9fd204db733d4852fc73 |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add reloc for evergreen color attrib we'll need this for color tiling on evergreen.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
40ccb235d693ea6184ab61529f2910086e68edda |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop depth quirk on evergreen none of the EG cards need the quirk.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
05d1d86907b12011fdb80e147ae68b4cd207f789 |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add winsys support for CTL constants. These need to be emitted, we also need them to do proper vtx start, instead of abusing index offset.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
084c29baedf2702200b310d6e63a5d0f95aaac37 |
|
01-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix evergreen depth flushing. although evergreen can apparantly sample direct from 24-bit, just make it work with the current method for now.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
dbcd6526021c50770c3e5e04b04dc64c70298124 |
|
30-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: clean up some code from move to new paths. mainly remove 2 suffix from function names
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6abd7771c6ab2c733b20835e211060dd18fd847d |
|
29-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: more cleanup Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1235becaa1cf7e29f580900592563c3329d326de |
|
29-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: cleanup Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5646964b1360883b6254e2ebacc198f43869d36f |
|
28-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: use a hash table instead of group Instead of creating group of register use a hash table to lookup into which block each register belongs. This simplify code a bit. Signed-off-by: Jerome Glisse <jglisse@redhat.com
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
53b3933ce661e2552aa064bbc3a3ab317f32d148 |
|
29-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add evergreen texture border support to new path
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b534eb16a298ce02e723c53c1d021f35a4a873a2 |
|
28-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix remaining piglit issue in new design Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
175261a1f1bfb1317d787c05f1ccde7f10629636 |
|
28-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: on evergreen the centroid isn't set in this register.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
5e07483ed9783cd34e3d3dca74f9f1d002f1ce9d |
|
27-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix routing btw vertex & pixel shader Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
1617daaf496573eba70b35a760183b427adeff1b |
|
27-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix pointsprite & resource unbinding 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>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
58a31758e3b8249b12f0e797034bec235343aa15 |
|
27-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix index buffer drawing Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
7eab5ef425e1e08c0dc0ea8d161c33610a91586f |
|
27-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add evergreen texture resource properly. adding sampler border looks impossible with current design, another day, another corner case not worked out.
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
bc8b8d06b672f19d91fda835d38083d5751299f2 |
|
25-Sep-2010 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
r600g: set ENABLE_KILL on evergreen too
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
58c243905b0cfcbf1b0299a0f7f0ea90755e36cc |
|
25-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix vertex resource & polygon offset Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
6613605d79bc84043e74c7eefe8025c2c7c4978b |
|
24-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: bring over fix from old path to new path 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>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
3ad4486bfeea0d38f0789431e5e8fc1e6579e3aa |
|
24-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix evergreen new path glxgears seems to work, had somelockup but now they seems to have vanish. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
ba7e6ccc95a4e39cd15ca03573b2f6d6f8c9f539 |
|
24-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix evergreen new path Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
eff1af65afb479b3719d8fa2bed97b76d6dee768 |
|
24-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: evergreen fix for new design Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|
b360c050b60a578ce6c75cbc872dd54999b3f6c5 |
|
22-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: initial evergreen support in new path This doesn't work yet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/evergreen_state.c
|