0ac90296a092f846647812318913b0e492775f31 |
|
21-Dec-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: always use a tiled resource as the destination of MSAA resolve i.e. we have to allocate a temporary tiled resource if dst isn't tiled. This fixes hardlocks on r6xx-r7xx, though using a linear resource is forbidden on later asics as well. NOTE: This is a candidate for the stable branches. (cherry picked from commit 9c6410e5c3ffc74564fae5afcc1b6982759cdd01) Conflicts: src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_texture.c
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
86735d78e67c44a6ab786c85562c8fca2384f4a5 |
|
13-Sep-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't use a staging resource for large transfers It kills performance if the resource is linear. (cherry picked from commit e386972f5bcb59a37489ea627030315bf8961fd4)
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
78354011f99c4103345f8f32e10b0b4b884ebdaf |
|
26-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement color resolve for r600 The blend state is different and the resolve single-sample buffer must have FMASK and CMASK enabled. I decided to have one CMASK and one FMASK per context instead of per resource. There are new FMASK and CMASK allocation helpers and a new buffer_create helper for that.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8698a3b85dd89c5d2fa473e7942b7dc8d25f3c8f |
|
02-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement MSAA for r700 Reviewed-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
48edfe0505ee79d35f770f53b9c9b7ca3c69fd2b |
|
13-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup names around depth decompression for consistency with the upcoming color decompression naming Reviewed-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
f36c404f900dee95ecfe9d5c6a7c6efdf5e25963 |
|
16-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: disable tiling for 422 formats again
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
6fd9218bb44b8719da60ce325d4f41c4a611e871 |
|
16-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix copying between NPOT mipmapped compressed textures We aligned the dimensions to the blocksize, then divided by it (in r600_blit.c), then minified, which was wrong. The minification must be done first, not last. This fixes piglit/fbo-generatemipmap-formats with S3TC and maybe a bunch of other tests too. Tested on RV730.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
952c90576753550f4deed4dac42d8fd6129a9cce |
|
14-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: always put tiled textures in VRAM
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
362a25aac5f8cd71c08ad92b4b19be6712d8fd72 |
|
12-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove unused parameter in r600_texture_create_object
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
c4993d15eb07d95ac465b5f25ea96072e4b008bf |
|
12-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fixup the usage flag for the flushed depth texture
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
1ea263fccb9259218addec9e805db075be9eba7c |
|
07-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove unused parameters in texture functions
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e6dfc8c77bc00c06a35270a4e50aa52c738c8629 |
|
01-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: simplify create_surface
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
7c371f46958910dd2ca9487c89af1b72bbfdada9 |
|
28-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: make sure copying of all texture formats is accelerated
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ea72351a919c594e7f40e901dca42aebb866f8a6 |
|
29-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: correct texture memory size for Z32F_S8X24 on evergreen
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
43e226b6efb77db2247741cc2057d9625a2cfa05 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: optimize uploading depth textures Make it only copy the portion of a depth texture being uploaded and not the whole 2D layer. There is also a little code cleanup.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
b242adbe5cfa165b252064a1ea36f802d8251ef1 |
|
18-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove needless wrapper r600_texture_depth_flush
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
e773a48a3bf9ab839f10794506c0a492b7eab883 |
|
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix uploading non-zero mipmap levels of depth textures This fixes piglit/depth-level-clamp. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
6842d5fced16b275a06d39fe1d38b8326a11c84e |
|
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't set dirty_db_mask for a flushed depth texture A flush depth texture is never set as a depth buffer and never flushed. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
dee58f94af833906863b0ff2955b20f3ab407e63 |
|
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: do fine-grained depth texture flushing - maintain a mask of which mipmap levels are dirty (instead of one big flag) - only flush what was requested at a given point and not the whole resource (most often only one level and one layer has to be flushed) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
0a21b561c7e476c0c17e346da9fcd0734db0da1f |
|
08-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix stencil texturing with Z32_FLOAT_S8X24_UINT
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
b278aba42310e8fa30f2408b9dcd58dbb4901724 |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use u_box_origin_2d helper function
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
22d032707e888dc9718d66c1f59e6efbc04ab9bd |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove stray semicolon
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
4891c5dc64ccd8cf2bf8a8550ae23e1a61806a7d |
|
25-Jun-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: inline r600_blit_push_depth and use resource_copy_region We are going to have a separate resource for depth texturing and transfers and this is just a transfer thing.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
b4f0ab0b22625ac1bb3cf16342039557c086ebae |
|
15-Jun-2012 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix z/stencil texture creation v2 z or stencil texture should not be created with the z/stencil flags for surface creation as they are intended to be bound as texture. v2: remove broken code Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
7446a0407d4e61a826385c11ed6c401837baf095 |
|
16-May-2012 |
Michel Dänzer <michel.daenzer@amd.com> |
gallium/radeon: Fix r300g tiling breakage. Commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 broke the r300g build. Fix it up, and reinstate some code which isn't needed by r600g and radeonsi but is by r300g.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 |
|
16-May-2012 |
Michel Dänzer <michel.daenzer@amd.com> |
r600g: Set tiling information for BOs being shared. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48747
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
0a6120244e66494db070ce875c0a464fbc5b15a1 |
|
26-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
winsys/radeon: simplify buffer map/unmap functions The idea is not to use pb_map and pb_unmap wrappers, calling straight into the winsys.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
a52b3338c6e51421e3836ae210cd98d9c1ec337b |
|
10-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
u_vbuf: remove u_vbuf_resource
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
fb016854bc4327151e9eee3b7b08d0499976631a |
|
03-Mar-2012 |
Christian König <deathsimple@vodafone.de> |
r600g: add support for subsampled rgb formats v2: r600 formats are msb first! Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
330b6c85c961b32f704ce8ec7dbf8cb7fc0b80a8 |
|
05-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup includes
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
0d91ddf1d4be712377e80d330480ff560d449c6f |
|
05-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't enable tiling for STAGING and STREAM usage cases Reviewed by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
29e55bc5f1b6d7375b6a86e24ca4ae58e399011e |
|
26-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
winsys/radeon: add usage parameter to cs_is_buffer_referenced Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
515a64a28ce9566c85443209784944838a0d6d62 |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: permit blitting between textures with STREAM and STAGING usage Eventually I'd like to make every format blittable, so that the function can go away. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
62f44f670bb0162e89fd4786af877f8da9ff607c |
|
05-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY" This reverts commit 0950086376b1c8b7fb89eda81ed7f2f06dee58bc. It was decided to refactor the transfer API instead of adding workarounds to address the performance issues.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
bf4fedcef3e345f5117232d58bd9000c2441de74 |
|
26-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use u_default_transfer_flush_region for all resource types
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ab1328882101f67335a332e940fea92eeaf70e12 |
|
26-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: use u_default_transfer_inline_write for all resource types
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
897af1d499ed91ed3629432424eb1ac62bff2c5f |
|
26-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: cleanup r600_transfer_struct Especially rename staging_texture to staging and change its type to r600_resource. I will reuse it for buffers later.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
81c04848625182c51d89c91f34ea6ab51d9ed090 |
|
24-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: properly check whether texture is busy in get_transfer
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
85571ed53c18f4e5c31ea8eb81c1231c6d786ae4 |
|
14-Feb-2012 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove unused variable
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
a9d8809f16feb7f6d5d723f2afa2cfbea60cae55 |
|
22-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
r600g: srgb mode is only valid on certain format types. "If set, forces degamma on XYZ if format is FMT_8_8_8_8, FMT_BC1, FMT_BC2, or FMT_BC3" Don't claim support for sRGB on any other formts. This fixes glean texture_srgb. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
0950086376b1c8b7fb89eda81ed7f2f06dee58bc |
|
02-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY Please see the diff for further info. This paves the way for moving user buffer uploads out of drivers and should allow to clean up the mess in u_upload_mgr in the meantime. For now only allowed for buffers on r300 and r600. Acked-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
93f4e3cb6c1ca303ee1f5c2a2491a8eff33f2633 |
|
24-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
winsys/radeon: move managing GEM domains back to drivers This partially reverts commit 363ff844753c46ac9c13866627e096b091ea81f8. It caused severe performance drops in Nexuiz. Reported by Phoronix. Tested by me on r300g and by IRC people on r600g.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d38768fe3882ac4bc29d4cb7aca975f20c981c0c |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add int support for 2/10/10/10 format. integer wasn't set properly for the non-uniform types. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d5e91a2364a497efb75aefe6538e64d4e5ada51a |
|
12-Nov-2011 |
Vadim Girlin <vadimgirlin@gmail.com> |
r600g: fix stencil buffer ref counting on evergreen Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
dbd24b5df6739b85638020c0e5ab1cc9ff84a4b7 |
|
10-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove useless texture barrier
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e8139ebf583acf37150a8b341bcbef6b924a7792 |
|
26-Jul-2011 |
Mathias Fröhlich <Mathias.Froehlich@gmx.net> |
r600g: Replace needless flush in texture upload. Replace pipe->flush() with pipe->texture_barrier() in the texture upload path for the staging texture. This should be enough to get data out of the gpu caches ready to be read for texture fetch.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
363ff844753c46ac9c13866627e096b091ea81f8 |
|
27-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
winsys/radeon: move GEM domains out of the drivers into winsys The drivers don't need to care about the domains. All they need to set are the bind and usage flags. This simplifies the winsys too. This also fixes on r600g: - fbo-depth-GL_DEPTH_COMPONENT32F-copypixels - fbo-depth-GL_DEPTH_COMPONENT16-copypixels - fbo-depth-GL_DEPTH_COMPONENT24-copypixels - fbo-depth-GL_DEPTH_COMPONENT32-copypixels - fbo-depth-GL_DEPTH24_STENCIL8-copypixels I can't explain it. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
af8eb5c851a9d566059ae9e37745614cd96b9a13 |
|
27-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
winsys/radeon: remove a redundant parameter 'size' from buffer_from_handle It's part of pb_buffer already. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
518557d74abd4ce035dae079ff6eb1b08cc639d0 |
|
17-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: move family and chip_class from struct radeon to r600_screen Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
f2bae9456f141f8c1104ef2a0aab31f6190ae5f0 |
|
15-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: interpret integer texture types as ints. For signed/unsigned with no normalisation or srgb, assume its an INT type texture. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
3603d157889544230f1787bbdc4915ccd7461c59 |
|
11-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: compute tiling info in the pipe, not in the winsys The winsys doesn't need it.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
840ad139aff401829552d0e3ba77f8abcb5862bd |
|
04-Sep-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: always decompress all mipmaps and layers, slices, or faces of zbuffers This fixes piglit/fbo-depth-array. Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8f4ec55f77a993ec44db56726187bdd4f041880e |
|
29-Aug-2011 |
Christian König <deathsimple@vodafone.de> |
r600g: Make unaligned 3D textures work on +evergreen The layersize calculation is slightly different on +evergreen. This makes mpeg2 video decoding and piglits texture-packed-formats test work correctly on this hardware.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
702838a7061cde91a6bcdd3382817deb61218bf1 |
|
22-Aug-2011 |
Michel Dänzer <michel.daenzer@amd.com> |
r600g: Handle PIPE_TRANSFER_MAP_DIRECTLY. If the state tracker tries to map the resource directly but we can't or don't want to do that, fail to create a transfer. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
db71537f01e0e6fd19e90bda6cfd727bb18832df |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: don't allocate separate depth and stencil for transfer textures on EG The state tracker expects depth and stencil pixels interleaved. Evergreen can bind an interleaved depth-stencil resource as a colorbuffer, but not as a zbuffer. The hardware can do the interleaving for us when decompressing.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
751a6ed893d393eaea266d892402d132f7d15a7d |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: hack around a problem with texture alignment
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
98a87a594b6983d2a05d9412e3fa074894c334ff |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: simplify the conditionals determining array mode
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7f29824fd5df27eca516ad65e4a4f8ff94fe7bed |
|
19-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: put depth and stencil into one backing buffer For DRI2 sharing.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
c79e9f0ed59d561849a0a4fbaafe87d5064d3e8c |
|
04-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: enable thread offloading Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
041ed559e11ee99d720c8132428c07d8fe57ec81 |
|
04-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: remove an unused parameter from r600_bo_destroy Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ab630b5768b0bfa4d7729d110ce4fb8f42e0cfb9 |
|
04-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: use buffer_map/unmap from radeon_winsys This also drops the unneeded bo_busy/wait functions. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2ce783d8ddec1b1fcadc0798af0ebb045bba1cc4 |
|
02-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: put radeon_winsys in screen::winsys, don't include drm_driver in the pipe Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
be7407b75b12c70e1925c10117937ae2b9e6711f |
|
02-Aug-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium/util: add functions for manipulating swizzles Some of those have been in drivers already.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
3093cbaad9962df8ad35f2c1c42d6b1259381498 |
|
18-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Get rid of leftover PB_USAGE_* flags. These happen to work because their values are the same as the equivalent PIPE_TRANSFER_* flags, but it's still misleading. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
a0a22fead5e08b9ebfd2b64e6262e1e803a8e927 |
|
13-Jul-2011 |
Christian König <deathsimple@vodafone.de> |
r600g: prevent hardware blitting based on resource usage It doesn't make much sense for STAGING and STREAM resources to be hardware blitted into VRAM.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
89954723bfeef59d055d2332ff112f0204b48130 |
|
20-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: depth_buffer_float support on r600-r700
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
88cf65a600c34ff361bcb4a5d928be94dbc1d91e |
|
05-Jul-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Get rid of an unused include in r600_texture.c. Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
eb2c9b5814f7c6a5b37bc9063b1593095ea4f620 |
|
22-Jun-2011 |
Michel Dänzer <daenzer@vmware.com> |
r600g: Fix use of uninitialized local variable extra_size. Should fix http://bugs.freedesktop.org/show_bug.cgi?id=38566 .
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
21972c85ea734dbfcf69629c6b0b940efb42d4ba |
|
21-Jun-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: fix fbo depth/stencil texture allocation for evergreen+ evergreen+ stores depth and stencil separately so when we allocate a depth/stencil fbo, make sure we allocate enough memory for both depth and stencil buffers. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7d488ade239652d67f78a79bbd9712e4690591cb |
|
14-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: fix RGB32F texturing
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8b558451ad7560a53263f1848b5c826069aa8f51 |
|
27-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: implement EXT_packed_float
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
de9f55437ab7110dd79ebebaac543d35493380ce |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: trivially implement EXT_texture_shared_exponent Nothing else needed.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
def6a91a62beb79956cb55805bff7d4c3e5461ec |
|
24-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: trivially implement LATC/3DC Passes fbo-generatemipmap-formats.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
656c314573c2b63ef92fc035dd811b9d6dc82c1c |
|
09-Mar-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Fix an unused variable warning.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7e02303497237cde958c28608477d0c355a8038b |
|
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove flags from the flush function The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e968975cb57eb854769292f7c6ff773c64a386c3 |
|
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove the geom_flags param from is_format_supported
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
25485f4b69447514ab8b595aced90c75606a99bd |
|
07-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: kill is_resource_referenced Only st/xorg used it and even incorrectly with regards to pipelined transfers.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
137d44e0f2ce7d99d34f301f7d943645cefb289c |
|
03-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: disable tiling by default again. we still have a lot of corner cases that aren't working. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
c7d239c43b8fbc502139e1699c7a47fcbece1aa7 |
|
02-Mar-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: change the cross over point for 2d->1d this fixes some rendering in the fbo-generatemipmap-formats test on my rv610. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
b2413de91682e3908d8ab1635956a290f603681c |
|
25-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: explicity set sign bits for RGTC
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
c9bca01819ef0fa3c64a28e26bd63953cf7f1364 |
|
24-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: bc 4/5 or rgtc textures need to be tiled as well. Make the s3tc upload code more generic. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
69d969e8fafd3357a140072f0f4bbf0f28db9769 |
|
17-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: EXT_texture_array support. This adds EXT_texture_array support to r600g, it passes the piglit array-texture test but I suspect may not be complete. It currently requires a kernel patch to fix the CS checker to allow these, so you need to use R600_ARRAY_TEXTURE=true for now to enable them. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
dfa59284049e735cb55e1b39f32cfcfb71ebbff3 |
|
18-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: reorganise rgtc pieces. when the cs checker fixes go upstream a lot of this can disappear into a drm version check. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2a6cce09e356a33337dbc193d8a580d0faab8915 |
|
18-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add BC4/5 to RGTC conversion this doesn't do anything much since the rest of mesa doesn't support RGTC yet.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
04903d1f639d21e1476552adf4de7f4edc35b489 |
|
16-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add L8A8 SRGB formats. this fixes the piglit mipmap generation sRGB on my rv730. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
632918d3ecd9756ad34098d28ed9eeda874d41a9 |
|
15-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add srgb compressed formats to the list.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8e0437914bb786d0b05be8f95e4ff37bf5a19f44 |
|
11-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: add support for s3tc formats. On r600, s3tc formats require a 1D tiled texture format, so we have to do uploads using a blit, via the 64-bit and 128-bit formats Based on the r600c code we use a 64 and 128-bit type to do the blits. Still requires R600_ENABLE_S3TC until the kernel fixes are in, this has only been tested on evergreen where the kernel doesn't yet get in the way.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
9e96ea0652dda64f8eb311d7dfc9c50519ad02f0 |
|
14-Feb-2011 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: add alignment cases for linear aligned Matches the drm and ddx. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
596684eb93067f5281ce7c32123a7f009c8a98c6 |
|
11-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: get correct height alignment useful for s3tc
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
aa8a2224a3df111a1613f0baefebc00883e1b70b |
|
07-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
r600g: use the new vertex buffer manager
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2271c793e8650e0e55c054301ab85b5b92b9bf11 |
|
04-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: flushing texture needs all levels. For mipmap generation we need all levels in the flushing texture. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
126e98966d5396ed251a34e3c39f11b36351a579 |
|
03-Feb-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Make the buffer and texture vbtls static const.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
aa31a5cbc7b52eb1d03c6eab414479249830eabf |
|
03-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: flush differences back to DB copy.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
417cfa60b2fec89423be6ce51ab8b1f3063abb2a |
|
01-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: fix depth hw resource copies. With the previous fixes we can now enabled hw depth copies Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
5730d565498cb8b4608fb7ed526172bc4bd84cb9 |
|
03-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: only set depth bit for hw accessible depth buffers. If we get a sw accessible buffer like the S8 texture we end up doing depth tracking on it when there is no need since we won't ever bind it to the hardware. This leads to a sw fallback in the transfer destruction which leads to and endless recusion loop of fail in transfer destroy. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
b13b7b86b2e1165b24a2df20cb67f9f3baa17b13 |
|
03-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: rework dirty / depth texture tracking. this adds a flag to keep track of whether the depth texture structure is the flushed texture or not, so we can avoid doing flushes when we do a hw rendering from one to the other. it also renames flushed to dirty_db which tracks if the DB copy has been dirtied by being bound to the hw. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d0293290ad620084d490b51693d97731a8935094 |
|
03-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: set correct pitch/offset for depth textures in flushed state. This fixes zreaddraw in tiling mode
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
aee5f1e40ca27149a6226187e855125821d96971 |
|
01-Feb-2011 |
Dave Airlie <airlied@redhat.com> |
r600: only decompress depth when its tile type is wrong. If the tile type for the buffer is 1 then its been bound to the DB at some point, we need to decompress it, otherwise its only been bound as texture/cb so don't do anything. This fixes 5 piglit tests here on r600g.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
065c8696e7b8290f9361ae88b8a7d99be9e2d0ef |
|
31-Jan-2011 |
Dave Airlie <airlied@redhat.com> |
r600g: fix regression in cubemap tests since eea1d8199b376f37027c14669e0bdf991a22872d Although CUBE is a reduction inst, it writes to more than just PV.X so we need to keep the dst channel. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
38b54158b68479e1f97c8452ba0d67f50dce7582 |
|
30-Jan-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Update the flushed depth texture after drawing to the corresponding texture. I know Jerome will probably rewrite the way depth textures work sometime soon. For the time being this should at least make common depth texture usage for shadowing work properly though.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
a40305dcdb17588613c02868777b3f0e997fb6ff |
|
09-Jan-2011 |
Christian König <deathsimple@vodafone.de> |
r600g: check if hardware blits are possible bevore enabling tilling
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
9e964baaf34fedec385a750b97fd6684fc52584a |
|
18-Jan-2011 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Kill trailing whitespace.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
878519b73e5ff80df98591f70e6d53d05ed46f2f |
|
24-Dec-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Get rid of r600_blit_uncompress_depth_ptr.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
edda44e0dc72302afa04a767772d5d97ab9d9aa6 |
|
03-Dec-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: more indentation fix + warning silencing + dead code removal Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
a23f25eba1fb8919a29efb88ef9e351abcc65b2e |
|
18-Nov-2010 |
Alex Deucher <alexdeucher@gmail.com> |
r600g: fix buffer alignment This should fix the remaining buffer alignment issues in r600g.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7fb16423cc325efcdcf6e4954a5ac71d8f96dbf8 |
|
11-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: enforce minimum stride on render target texture images Fixes piglit/fbo_readpixels since staging upload changes.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8a3c181e9cc761abb647a8e813f25e3fa4441a9a |
|
11-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: do not try to use staging resource for depth textures Currently r600_resource_copy_region() will turn these copies into transfers + memcpys, so to avoid recursion we must not turn those transfers back into blits.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
6baad55f157387d0bb44144680a96bc32280109f |
|
11-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: guard experimental s3tc code with R600_ENABLE_S3TC
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
63c3e3a3dc73f8a72e0d08ac4453df57bccdfdb9 |
|
09-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600: fix my pessimism about PIPE_TRANSFER_x flags For some reason I though we needed the _DISCARD flag to avoid readbacks, which isn't true at all. Now write operations should pipeline properly, gives a good speedup to demos/tunnel.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
c2c55547dc36f404e29dbc9253166f90df6783af |
|
03-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: attempt to turn on DXTn formats Seems to sort-of work for non-mipmapped textures. Better than just black anyway.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e3ea4aec033643a629e2fa48eb538fdb856adf4e |
|
03-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: avoid recursion with staged uploads Don't use an intermediate for formats which don't support hardware blits under u_blitter.c, as these will recursively attempt to create a transfer.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
46c19700676e17bfaa0a88346d512449fbeede79 |
|
03-Nov-2010 |
Benjamin Franzke <benjaminfranzke@googlemail.com> |
r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ee07e0e39ad1c4d13d540b23220fecc564d07b16 |
|
03-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: don't call debug_get_bool_option for tiling more than once
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7b120ceac8738b73dcffe4d39e3e32b473dea3cf |
|
02-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: remove unused flink, domain fields from r600_resource These were being set but not used anywhere.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d4fab99c1c20334131b446b0032303a8b3c5c1a1 |
|
02-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: use a buffer in GTT as intermediate on texture up and downloads Generalize the existing tiled_buffer path in texture transfers for use in some non-tiled up and downloads. Use a staging buffer, which the winsys will restrict to GTT memory. GTT buffers have the major advantage when they are mapped, they are cachable, which is a very nice property for downloads, usually the CPU will want to do look at the data it downloaded.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
29c4a15bf61a76cd71ffa5b8f09706d0eab84281 |
|
02-Nov-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: propogate resource usage flags to winsys, use to choose bo domains This opens the question of what interface the winsys layer should really have for talking about these concepts. For now I'm using the existing gallium resource usage concept, but there is no reason not use terms closer to what the hardware understands - eg. the domains themselves.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
14c0bbf469642722f86df315b9f85d23f9753956 |
|
15-Oct-2010 |
Keith Whitwell <keithw@vmware.com> |
r600g: propagate usage flags in texture transfers
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
089aa0ba247cee908ae689f8e4f3ffc457ce7627 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add texture tiling enable under a debug option. At the moment you need kernel patches to have texture tiling work with the kernel CS checker, so once they are upstream and the drm version is bumped we can make this enable flip the other way most likely.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
cdd14668b67d80729c0bb6480dc2317ac4e1cbb9 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add texture tiling alignment support. this sets things up to align stride/height with tile sizes, it also adds support for the 2D/1D array mode cross over point.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
92ed84d11560e226c87bf2758b1503e3075b3f82 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: introduce a per-driver resource flag for transfers. this is to be used to decide not to tile a surface being used for transfers.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
388ce31baa860a0d7535c852d768c6e243c8133c |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: start adding hooks for aligning width/height for tiles.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
206fbd9640f076ada23368edf158b6d40f673ba7 |
|
21-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: all non-0 mipmap levels need to be w/h aligned to POT. this adds a new minify function to the driver to ensure this.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8a74f7422bedb419f3527bb1ccd60e1e9220502c |
|
18-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: retrieve tiling info from kernel for shared buffers. we need to know if the back is tiled so we can blit from it properly.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
375613afe38e0704b4ce38e64765b12d9660a846 |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix transfer function for tiling. this makes readback with tiled back work better.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
21c6459dfbe3434fd80bc1beaffb9f71a34e8994 |
|
18-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: depth needs to bound to ds
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
82114ac02a2d5a764ce69711fc0a71f559ee9137 |
|
05-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: switch to a common formats.h file since they are in different regs
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
f8778eeb40daf355f8dbcfeb1a9b492c57ce6a35 |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop all use of unsigned long this changes size on 32/64 bit so is definitely no what you want to use here.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e9acf9a3bb45caea7b0fba197aa9ab01f24bb63f |
|
13-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix transfer stride. fixes segfaults
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.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/r600_texture.c
|
6a0066a69f6873a53d45684205926e8f5b73ddb2 |
|
12-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: use common texture object create function
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
771dd89881791e38c076230497023ad7522602b3 |
|
12-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: split out miptree setup like r300g just a cleanup step towards tiling
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
9979d60c0e2e4152bce19c2c4128ff2941b9191b |
|
12-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add copy into tiled texture
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
833b4fc11e0fcac36490b036135298232310568a |
|
12-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix depth0 setting
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
40acb109de61ba445b9247f7d53eaf1c2b9b1245 |
|
07-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add support for S8, X24S8 and S8X24 sampler formats.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
8d6a38d7b3ea85bd2199f2797e3580d76cca2f6f |
|
08-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: drop width/height per level storage. these aren't used anywhere, so just waste memory.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.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/r600_texture.c
|
534f7d5749e34003fc9a0a4c83e6cd6f86a1c2cb |
|
30-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: port r300g fix for X* formats in texformat code
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
9c284b5cae916a083d17d1039d2f2da128b47882 |
|
29-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: delete old path Lot of clean can now happen. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
5a38cec7c807db07a6e8f1f2557fa75778a19763 |
|
28-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: use ptr for blit depth uncompress function Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
6547a82df185e1786e2313cfc4eb254f0a59f5aa |
|
23-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix warnings since last commit.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2f8453eea3b5ff8d2818517753d3990490f699b8 |
|
23-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: use blitter to do db->cb flushing. use the blitter + custom stage to avoid doing a whole lot of state setup by hand. This makes life a lot easier for doing this on evergreen it also keeps all the state setup in one place. We setup a custom context state at the start with a flag to denote its for the flush, when it gets generated we generate the correct state for the flush and no longer have to do it all by hand. this should also make adding texture *to* depth easier.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2b1ea90342a8fb912f3a5a40ebcd7c1ec488a4bb |
|
22-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: disable dirty handling on texture from depth code. nothing was every dirtying the object again, the mesa-demos reflect test was just stalling. this fixes glean readPixSanity.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
6e901e330aa7f0d186dad19bcc886bf45a76e50b |
|
21-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix typo in struct member name
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
b6ced8ee7b2c86e94fd7467d12aca5e322048ba4 |
|
21-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fixup evergreen miptree setup. eg seems to have a higher pitch aligmment requirement and uses r700 cube setup this fixes a couple of piglit tests here.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
0f099f2906773690210661fb533e207626dc8e40 |
|
20-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: use pipe context for flushing inside map This allow to share code path btw old & new, also remove check on reference this might make things a little slower but new design doesn't use reference stuff. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
363dfb83f1ca7f1ab09eec30aeb89732c5ce3e02 |
|
20-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: move chip class to radeon common structure So texture code can be shared btw new state design & old one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d172ef31383112ca6967341c4007eac7ac75961e |
|
20-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix r700 cube map sizing. this fixes fbo-cubemap on r700.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
3a1defa5e88cc846d8f5ba73ef475af95e7bc4ae |
|
19-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add color/texture support for more depth formats.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
affd46cc2bb327490fbc6a96f936dccf82d4996d |
|
19-Sep-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Buffer object maps imply a wait. Unless e.g. PB_USAGE_DONTBLOCK or PB_USAGE_UNSYNCHRONIZED would be specified.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
de9c8015eb30bf8a7e8571e7ca85e985173b0695 |
|
19-Sep-2010 |
Henri Verbeet <hverbeet@gmail.com> |
r600g: Remove a redundant flush in r600_texture_transfer_map(). radeon_ws_bo_map() will already take care of that if needed.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
fd266ec62ca772a8551d2d7922d718d9d84bdf07 |
|
17-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: alternative command stream building from context Winsys context build a list of register block a register block is a set of consecutive register that will be emited together in the same pm4 packet (the various r600_block* are there to provide basic grouping that try to take advantage of states that are linked together) Some consecutive register are emited each in a different block, for instance the various cb[0-7]_base. At winsys context creation, the list of block is created & an index into the list of block. So to find into which block a register is in you simply use the register offset and lookup the block index. Block are grouped together into group which are the various pkt3 group of config, context, resource, Pipe state build a list of register each state want to modify, beside register value it also give a register mask so only subpart of a register can be updated by a given pipe state (the oring is in the winsys) There is no prebuild register list or define for each pipe state. Once pipe state are built they are bound to the winsys context. Each of this functions will go through the list of register and will find into which block each reg falls and will update the value of the block with proper masking (vs/ps resource/constant are specialized variant with somewhat limited capabilities). Each block modified by r600_context_pipe_state_set* is marked as dirty and we update a count of dwords needed to emit all dirty state so far. r600_context_pipe_state_set* should be call only when pipe context change some of the state (thus when pipe bind state or set state) Then to draw primitive you make a call to r600_context_draw void r600_context_draw(struct r600_context *ctx, struct r600_draw *draw) It will check if there is enough dwords in current cs buffer and if not will flush. Once there is enough room it will copy packet from dirty block and then add the draw packet3 to initiate the draw. The flush will send the current cs, reset the count of dwords to 0 and remark all states that are enabled as dirty and recompute the number of dwords needed to send the current context. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7c1fcc41be15b6d648f84c8c1870a3a00575a48f |
|
16-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: move constant buffer creation behind winsys abstraction. this paves the way for moving to pb bufmgrs now.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
f70f79f6f6027bdf2f7de09bb39e12a24420f338 |
|
16-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: attempt to abstract kernel bos from pipe driver. introduce an abstraction layer between kernel bos and the winsys BOs. this is to allow plugging in pb manager with minimal disruption to pipe driver.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ef2808f56fbf31c09b8bc61776a711e31e0e7ee2 |
|
16-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix texture bos and avoid doing depth blit on evergreen since the depth blit code is hardcoded hex yay \o/
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
9a589961a281f77b938a4b5bf80409326743f147 |
|
16-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fixup texture state on evergreen. This whole set of state just seems wrong, another cut-n-paste nightmare.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e0b6df4fcce0964ea7930efeb40cb487b4c53337 |
|
15-Sep-2010 |
John Doe <glisse@localhost.localdomain> |
r600g: misc cleanup Avoid using r600_screen structure to get ptr to radeon winsys structure. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ac2bddb9f2c40effb16db321db0177decea81a92 |
|
09-Sep-2010 |
Tilman Sauerbeck <tilman@code-monkey.de> |
r600g: Fixed a bo leak in r600_texture_from_handle(). We would leak bo if the argument check failed. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
50526e094f4c66957c7f74c190c35903bc82fb62 |
|
03-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add initial evergreen support adds shader opcodes + assembler support (except ARL) uses constant buffers add interp instructions in fragment shader adds all evergreen hw states adds evergreen pm4 support. this runs gears for me on my evergreen
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e8ff0f63b6f078b17989e42dd05c9b69729b341b |
|
02-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix depth texture tests
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
67234b4b42a8285a9b14da48dd113cbe2ee871fd |
|
02-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: refix db/cb state Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
66e4cb1cd5a55402606a09417349d2be8b009e89 |
|
30-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: avoid dynamic allocation of states Make state statically allocated, this kills a bunch of code and avoid intensive use of malloc/free. There is still a lot of useless duplicate function wrapping that can be kill. This doesn't improve yet performance, needs to avoid memcpy states in radeon_ctx_set_draw and to avoid rebuilding vs_resources, dsa, scissor, cb_cntl, ... states at each draw command. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
15ce70252c5357081a61f3494261c7e343174301 |
|
01-Sep-2010 |
Jerome Glisse <jglisse@redhat.com> |
Revert "Revert "r600g: precompute some of the hw state"" This reverts commit 1fa7245c348cb7aced81f1672140f64cb6450e2f. Conflicts: src/gallium/drivers/r600/r600_state.c
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
1fa7245c348cb7aced81f1672140f64cb6450e2f |
|
01-Sep-2010 |
Dave Airlie <airlied@redhat.com> |
Revert "r600g: precompute some of the hw state" This reverts commit de0b76cab22caa9fc7260f80acb8f151ccced6c5, its pre-computes the texture state wrong, you can't just use an array of levels, since you can have FBOs to depth texture slices inside a level as well it would get really messy quickly. Probably need to split commits like this up into pieces for each piece of state, so we can revert bits easier in case of regressions. This also break 5 piglit tests, and valgrind starts to warn about invalid read/writes after this.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
de0b76cab22caa9fc7260f80acb8f151ccced6c5 |
|
30-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: precompute some of the hw state Idea is to build hw state at pipe state creation and reuse them while keeping a non PM4 packet interface btw winsys & pipe driver. This commit also force rebuild of pm4 packet on each call to radeon_state_pm4 which in turn slow down everythings, this will be addressed. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
69c30f5d6d429be4f7e211867984dab1a33da79c |
|
26-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fixup states generation in winsys. The current states code had an unhealthy relationship between that had to somehow magically align themselves, editing either place meant renumbering all states after the one you were on, and it was pretty unapproachable code. This replaces the huge types structures with a simple type + sub type struct, which is keyed on an stype enum in radeon.h. Each stype can have a per-shader type subclassing (4 types supported, PS/VS/GS/FS), and also has a number of states per-subtype. So you have 256 constants per 4 shaders per one CONSTANT stype. The interface from the driver is changed to pass in the tuple, (stype, id, shader_type), and we look for this. If radeon_state_shader ever shows up on profile, it could use a hashtable based on stype/shader_type to speed things up. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
2184f3ec3059eaf8a9a2b04c995162543f000862 |
|
27-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
Revert "r600g: simplify states" This reverts commit bd25e23bf3740f59ce8859848c715daeb9e9821f. Apart from introducing a lot of hex magic numbers and being highly impenetable code, it causes lots of lockups on an average piglit run that always runs without lockups. Always run piglit before/after doing big things like this.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
bd25e23bf3740f59ce8859848c715daeb9e9821f |
|
24-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: simplify states Directly build PM4 packet, avoid using malloc (no states are bigger than 128 dwords), remove unecessary informations, remove pm4 building in favor of prebuild pm4 packet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
d843bbfd3f92d5afea665c3ff16bcca0628f2e7b |
|
22-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: fix DB decompression Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ed99c28d12579bb8ee79eb9cfa55452785be7b6e |
|
22-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: depth buffer likely needs decompression when used as texture Before using depth buffer as texture, it needs to be decompressed (tile pattern of db are different from one used for colorbuffer like texture) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
36efb86c0570d86d8dfce87fd2416125e0e91b40 |
|
22-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: partialy fix texturing from depth buffer + initial support for untiling Partialy fix texturing from depth buffer, depth buffer is tiled following different tile organisation that color buffer. This properly set the tile type & array mode field of texture sampler when sampling from db resource. Add initial support to untiling buffer when transfering them, it's kind of broken by corruption the vertex buffer of previous draw. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
ae0ef6f69f351cacdc7eaa9b21097a7c1b414e44 |
|
18-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
03c59e4ab16b0ee362f189b549bd13491dba71e4 |
|
18-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fixup pitch alignment like r600c. This still needs work, passes tex3d, fbo-scissor-bitmap, scissor-bitmap
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
edb465e9bb1b45a6db5aca85a002c0f4958deff0 |
|
18-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: fix height calcs for miptree h needs to be rounded up, this probably needs revisiting when we get to tiling etc. fixes fbo-generatemipmap-npot
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
e2df0a8b234efde140b340c2c9b67b06b789b758 |
|
12-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: improve texture format checker. This takes the r300g texture format checker and fixes it up for r600g, it passes glean texSwizzle, pixelformats, and texture_srgb tests, however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
121a625c1651ddc181e374ebdf16bc5c46f6eaa9 |
|
06-Aug-2010 |
Dave Airlie <airlied@redhat.com> |
r600g: add bo wait after map.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
12dac449fba5fe17087fd48ac959a5388875b2d3 |
|
04-Aug-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: force flush on map as temporary fix to readpixel Should allow more piglit test to pass. Need to plugin proper flushing. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
5fa1af0905ef2f513fe296f1d8e658dbdf24dd74 |
|
31-Jul-2010 |
Vinson Lee <vlee@vmware.com> |
r600g: Remove unnecessary header.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
7a73390f9126fd270d9891cd9d2bf38ef56d9b80 |
|
29-Jul-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: mipmap early support + EX2/ABS instruction + culling Add mipmap support (demos/src/redbook/mipmap is working) Add EX2/ABS shader instruction support. Add face culling support. Misc fixes. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
742ee7935da60dda974795243d2e0fcf31accb59 |
|
28-Jul-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: cleanup resource buffer/texture mess Use a common function, fix the mess it was before. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
641c9adb09e8707f659d42be600d16902ebf8895 |
|
28-Jul-2010 |
Jerome Glisse <jglisse@redhat.com> |
r600g: texture support Add texture mapping support, redbook/texbind works if you comment out glClear and second checkboard. Need to fix : - texture overwritting - lod & mip/map handling - unormalized coordinate handling - texture view with first leve > 0 - and many other things Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
92fde20de33d9ffb4ddce9b03eebbfbffe9d93bc |
|
24-Jun-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
r600g: Move bootstrap code to target
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
9e8a6f801d360f85cc7bb53b85f15129b07b26da |
|
19-May-2010 |
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
r600g: various fixes - enabled flushing a buffer more than once - enabled the blitter for r600_clear - added some more colors to r600_is_format_supported (copied from r600_conv_pipe_format) - r600_set_framebuffer_state now sets rctx->fb_state - more states are saved before a blit (had to add some accounting for the viewport and the vertex elements state) - fixed a few errors with reference counting
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
b8fb1d75ce95fe5d404b301ab31ca0c323967d14 |
|
10-May-2010 |
Marek Olšák <maraeo@gmail.com> |
r600g: adapt to latest interfaces changes - Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|
72128962d640846472c1b0dc22cf4ac6ce875dc9 |
|
08-May-2010 |
Jerome Glisse <glisse@freedesktop.org> |
r600g: Initial import
/external/mesa3d/src/gallium/drivers/r600/r600_texture.c
|