URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20746c2e7d8d065445bbb30f0d1383c30459a784 Author: Krzysztof Sobiecki <sob...@gmail.com> Date: Thu Aug 20 23:19:30 2015 +0200
st/nine: Always use user constant buffers We had several reports of users hitting bugs with the other path to upload constants, and switching to the user constant buffer path solves the bugs. User constant buffers are expected to be slower for Nvidia cards, so ideally this patch should be reverted when the path is fixed. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Krzysztof Sobiecki <sob...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f57e9c77e388e1c5373265f4bc15434e63477757 Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 16 13:11:50 2015 +0200 st/nine: Silent warning in nine_ff release build was complaining Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cc205bbeb19d417b17be0f6200cb5cda9adca8a Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 16 13:11:27 2015 +0200 st/nine: Silent warning in sm1_declusage_to_tgsi release build was complaining Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d48cab9fa6b75db054e3a53819b465611923e9bc Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 16 12:58:41 2015 +0200 st/nine: Silent warning in NineCubeTexture9_ctor The compiler was complaining the value may be uninitialised when it is used (which is wrong). Initialize to NULL to silent the warning. URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f02d5e814904d7a5c041d6869751731712e8195 Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 16 12:57:40 2015 +0200 st/nine: Silent warning in update_vertex_buffer There was an unused variable URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=719f124620d3c9b4d6ce14db3dbfc7af05626e5b Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 9 19:06:01 2015 +0200 st/nine: Catch setting the same shader This is quite rare that an app does set again the same shaders, but it isn't an expensive check either. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eba3c390a3c6221781ca4d9c344c6f448e177b6c Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 9 19:02:02 2015 +0200 st/nine: Avoid Constant upload when there is no change It is very common for d3d9 apps to set again the constants they need before every draw call, even if nothing changed. Since we are mostly gpu bound, it is better to check for change, and upload constants again (and thus use gpu bandwith) only if the constants changed. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a747094ed0ab32541936dd18931f382901affe6 Author: Axel Davy <axel.d...@ens.fr> Date: Sat Jul 25 17:54:26 2015 +0200 st/nine: Fix the number of texture stages The number of texture stages is 8. 'tex_stage' array was too big, and thus the checks with 'Elements(state->ff.tex_stage)' were passing, causing some invalid API calls to pass, and crash because of out of bounds write since bumpmap_vars was just the correct size. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15ff98e2c53f6ce62443b24e3a9cf79c60ddff7 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 19:24:57 2015 +0200 st/nine: Use CSO cache for sampler views The CSO cache unbinds views that are not needed anymore, which we don't do. It checks for change before committing the views. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98f786b270b3e55a1e8a7bdc8182e436702748a2 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 19:10:41 2015 +0200 st/nine: Calculate dummy sampler state only once Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5effeb8eaf16e39a2f561b4b277f3810a69fc88 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 15:42:50 2015 +0200 st/nine: Better check shader constant limits Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bae2c7c15444b02a4820e3182c345545bd348561 Author: Axel Davy <axel.d...@ens.fr> Date: Thu Aug 13 19:24:02 2015 +0200 st/nine: Remove NINED3DRS_ZBIASSCALE It wasn't giving the expected result. This fixes some object being transparents in games like FEAR. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6379a28aa75a38676120891b355c434bec4125e1 Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 17 00:22:33 2015 +0200 st/nine: Implement special DOTPRODUCT3 behaviour Taken from wine tests Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=791b794a849f4576e59bda29680bdd49ed0429a9 Author: Axel Davy <axel.d...@ens.fr> Date: Sat May 16 12:14:54 2015 +0200 st/nine: Implement ff vertex data passthrough Fixes Wine tests Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb6c76f1bac039cddc66cb823e85437981ce8bef Author: Axel Davy <axel.d...@ens.fr> Date: Sat May 16 01:24:29 2015 +0200 st/nine: Change nine_state_update order nine_update_state called every draw call. This patch attemps to change the order of the checks to have better control flow Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a00e4cdc970582df338ebf880168a4ef4ec05d9 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 01:27:33 2015 +0200 st/nine: Programmable ps D3DTTSS_PROJECTED support The implementation used Wine tests for conformance Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7261528ea964f6cba3173f72608c1afc0750d6b Author: Axel Davy <axel.d...@ens.fr> Date: Tue May 12 23:49:54 2015 +0200 st/nine: Complete ff texture transform implementation Wine tests were used to get it right. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcb6f764cfb13c21b5bc56e973daf05db5c1bc1c Author: Axel Davy <axel.d...@ens.fr> Date: Sat Aug 15 22:52:19 2015 +0200 st/nine: Change a few advertised caps There were flags all sm3 cards do advertise, and we weren't. Some games can trigger buggy rendering path if the caps are not what they expect. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2480bbab1a15960d8b30dda8351a6869a424679 Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 8 19:50:15 2015 +0200 st/nine: Advertise Fog flags Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcca7ff38a6ba923abd910f50a8e2bcf6560e6ae Author: Axel Davy <axel.d...@ens.fr> Date: Sun Aug 16 14:59:52 2015 +0200 st/nine: Revert to userbuf path when needed Automatically switch to userbuf path when we would need to upload fog or bumpmat constants Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f39ffc11e8b6fdf7c940f9c1853a362a886977a Author: Axel Davy <axel.d...@ens.fr> Date: Tue May 12 21:56:04 2015 +0200 st/nine: Finish Fog implementation Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69de5d626f2e67e74e4de94ce13f7ac50fa52161 Author: Axel Davy <axel.d...@ens.fr> Date: Mon May 11 21:32:57 2015 +0200 st/nine: Rework shader states Separate state setting and commit Changes how the shader key is computed Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=854778ea0fea474eea0c984f1c0fc32aed91f10e Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 10 11:42:25 2015 +0200 st/nine: Remove some useless variables Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb0816c0f6e2ccf81cbb433206b616f4662a803a Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 10 12:01:10 2015 +0200 st/nine: Fix nine_ff_ps_key padding Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd4802c8deedc0b2bad7d361c487761be31f2b56 Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 8 19:48:45 2015 +0200 st/nine: Begin programmable shader fog support Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dd59a2d286cca8ccbc7a25622cd7036cdbf437d Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 8 19:26:20 2015 +0200 st/nine: Fix fixed function fog support Previous code had only a subcase of fog working right. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87ec6b56b28c25d4184422c40f576c24ebe7cd75 Author: Axel Davy <axel.d...@ens.fr> Date: Tue Mar 24 11:06:22 2015 +0100 st/nine: Rework ff constant buffers Always use a user constant buffer for ff. It means we have to: . commit the user constant buffer for ff when we use it . commit back the non-ff constant buffer when we stop using it Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=993e68fa6a431a7c7c451c738e07d02a84ea40e4 Author: Axel Davy <axel.d...@ens.fr> Date: Tue Mar 24 10:47:35 2015 +0100 st/nine: Rework constant buffer state handling We have two paths: . One that uses a fixed constant buffer, and updates it when needed . One that uses a user constant buffer, and uploads it when needed. This patch separates the preparation of the constant buffer and the commit. It also removes NineDevice9_RestoreNonCSOState, which was used to restore all states. Instead the commit of the constant buffer is moved to nine_state, and the other field settings moved to other functions where more appropriate. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3f0d21da9a33e58a4be41f65f77eebe1dd85841 Author: Axel Davy <axel.d...@ens.fr> Date: Tue Mar 24 10:10:25 2015 +0100 st/nine: Rework blend states Separate state preparation and state commit Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b06f3ee6f4ebf6ad403e7ee917c54bef85899c19 Author: Axel Davy <axel.d...@ens.fr> Date: Sat Jan 3 11:36:09 2015 +0100 st/nine: Improve fallback when driver doesn't support user buffers. For now the path updated is only used by Amd drivers, but a later patch will make it used by all drivers. Some drivers like llvmpipe doesn't support the uploading of constants from user buffers, so improve the path to work for all drivers Inspired from the gl state tracker. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7ce3cd0d3a9f3580d02afe5a4fc6588d20aba6b Author: Axel Davy <axel.d...@ens.fr> Date: Sun Feb 15 16:22:43 2015 +0100 st/nine: Avoid useless updates in SetSamplerState Check for redundant settings Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a2302b5ece2edf944b474eeb19ad7fc17906e7d Author: Axel Davy <axel.d...@ens.fr> Date: Tue Mar 24 10:16:59 2015 +0100 st/nine: Rework rasterizer states Separate state preparation and state commit Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=71616d0c501077a04deb4f2a3cc115b50634763d Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 15 23:52:09 2015 +0200 st/nine: Reorder DSA state settings Separate state preparation and state commit Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06285530566ea3387b6eb3f8e1a0443132c3659b Author: Axel Davy <axel.d...@ens.fr> Date: Tue Mar 24 09:35:18 2015 +0100 st/nine: Reorder nine_state. Instead of mixing state preparation (filling pipe_****) and state commit (pipe->set_*****), begin doing so in two separate functions. This will allow to implement efficient Stateblocks, and eventually lead to optimisation where the complete pipe_*** structure is only partially updated. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99537f68db829bd4708eb8e1b1ef0948f3dd3c66 Author: Axel Davy <axel.d...@ens.fr> Date: Sun Feb 15 09:19:16 2015 +0100 st/nine: Remove group_mask argument from nine_update_state It was only used to discriminate update framebuffer vs update everything. Instead use two functions. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=360ba5b74858b3854784e3d4678c242140088395 Author: Tiziano Bacocco <tizb...@gmail.com> Date: Fri Jan 30 20:10:38 2015 +0100 st/nine: Implement TEXBEM,TEXBEML and BEM Signed-off-by: Tiziano Bacocco <tizb...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=620f3e9bfe4bc56c65638a49b1c4f1d5cbef057d Author: Patrick Rudolph <s...@das-labor.org> Date: Sun May 17 12:46:42 2015 +0200 st/nine: Fix use of uninitialized values Set all values to 0 after allocation. Found using valgrind. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=248833ff4072da4f3362dc9f0eab84eb015f3964 Author: Patrick Rudolph <s...@das-labor.org> Date: Sat May 16 19:47:00 2015 +0200 st/nine: Prevent possible crash In case NineBaseTexture9_ctor returns an error This->surfaces[l] might be NULL. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc6c80e54714e939e4bc116374f410680e7a3632 Author: Patrick Rudolph <s...@das-labor.org> Date: Tue May 19 20:18:29 2015 +0200 st/nine: Return correct error codes in NineDevice9_Reset Allow more than two errors, and return D3DERR_INVALIDCALL for failed display resolution changes. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0a4374e1a04ba16f36ea91fdb390633fe941978 Author: Patrick Rudolph <s...@das-labor.org> Date: Wed May 13 19:51:30 2015 +0200 st/nine: Fail on D3DUSAGE_DYNAMIC for D3DPOOL_SCRATCH textures Texture with pool D3DPOOL_SCRATCH and D3DPOOL_MANAGED cannot be used with flag D3DUSAGE_DYNAMIC. Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f396cd43ab148ff77b8df3344610ee6f2224d21d Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 17:22:26 2015 +0200 st/nine: Fix Lock Checks for Compressed textures Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0daec1797a22b51f7a3f5aa585ad6826af06cd3 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 14 17:01:40 2015 +0200 st/nine: Impose restrictions on DXTN texture sizes This is the expected behaviour. Fixes wine tests. Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48d895aa4b2475ef0af234b832d92d0ac4a47761 Author: Patrick Rudolph <s...@das-labor.org> Date: Wed May 13 19:43:04 2015 +0200 st/nine: Return NULL pointer in lock error cases Tests showed, that in case of errors, the pBits pointer is set to NULL. The pBits field isn't set to NULL in case of an already locked object. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74a77a4c1a5dafccbad0ff8c7fb55156c6643685 Author: Patrick Rudolph <s...@das-labor.org> Date: Wed May 13 07:19:11 2015 +0200 st/nine: Fix resource SetPriority/GetPriority Return 0 for non MANAGED textures and surfaces. Fixes failing wine d3d9 tests device.c test_resource_priority. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40a8943f53ff42f2a3b782e42d8a79711d814ab8 Author: Patrick Rudolph <s...@das-labor.org> Date: Tue May 12 20:28:17 2015 +0200 st/nine: Clean GetPrivateData Move the assert to return error codes in the correct order. Always set the pSizeOfData to the required buffer size. Fixes failing wine test device.c test_private_data() Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ba3f83592730e98cb5be0fbc88f1e40ff5471a8 Author: Patrick Rudolph <s...@das-labor.org> Date: Mon Apr 20 19:26:55 2015 +0200 st/nine: Allow lock coordinates outside range This fixes wine test device.c test_lockrect_invalid() Mimic WindowsXp behaviour and allow negative values in the rectangle passed. Add comment to point out behaviour used. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb1c2c2aa3b15ee1fdf8b8085cc1ca9f8ef04ed9 Author: Patrick Rudolph <s...@das-labor.org> Date: Tue May 12 20:07:09 2015 +0200 st/nine: Fix GenerateMipSubLevels potential crash For the case of D3DPOOL_MANAGED textures, This->base.resource can be NULL at the start of the function. In This case, UploadSelf will take care of the defining. Assign resource after the UploadSelf call to prevent NULL pointer exception. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bcab9ba75b24bd6cabcd9d31165ad4c1fe9d75c Author: Axel Davy <axel.d...@ens.fr> Date: Sat May 16 18:40:02 2015 +0200 st/nine: Fix FillColor Flag check IT is better check if the surface was created with RT flag, instead of checking capability (llvmpipe was complaining) Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef8ade6f09410b734fb84861a8bce23dc9e49afc Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 8 01:29:35 2015 +0200 st/nine: Fix StretchRect checks Fixes Wine tests Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4 Author: Axel Davy <axel.d...@ens.fr> Date: Fri May 8 16:54:53 2015 +0200 st/nine: Implement EvictManagedResources EvictManagedResources is used by apps to free the gpu memory of MANAGED textures (which have a cpu memory backing) Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c126f0b5837227d93e481fb04e43c96b3316413 Author: Axel Davy <axel.d...@ens.fr> Date: Thu May 7 00:03:21 2015 +0200 st/nine: Track managed textures Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41f54040e20d40e5e2ecbf73c09dcb4a154c4577 Author: Axel Davy <axel.d...@ens.fr> Date: Tue May 5 20:40:12 2015 +0200 st/nine: Only update dirty rect for UpdateTexture UpdateTexture is supposed to optimise by uploading only for the dirty region of the source (d3d9 doc, wine tests). This patch adds the behaviour for surfaces, but not entirely for volumes. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43d5c5a11b35dc09f369b08ff7066ccc8ab34e82 Author: Axel Davy <axel.d...@ens.fr> Date: Mon May 4 00:17:09 2015 +0200 st/nine: Textures start dirty According to the spec all textures start dirty. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e139e0debd2e0dfa1f233adafab4a0c322598a7e Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 3 23:53:48 2015 +0200 st/nine: Track dirty region for SYSTEMMEM too Dirty regions should be tracked for both MANAGED and SYSTEMMEM. Until now we didn't bother to track for SYSTEMMEM, because we hadn't implemented using the dirty region to avoid some copies Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a61894cdb0f97df48775f5a16ba60d33519e36a Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 3 23:46:14 2015 +0200 st/nine: Add missing BASETEX_REGISTER_UPDATE calls If the texture is bound and dirty_mip is true, BASETEX_REGISTER_UPDATE adds the texture to the list of things to update before the next draw call. Some calls to it were missing. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4f69bc394e1b92e3d1dabf320258425c2876091 Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 3 23:28:25 2015 +0200 st/nine: SetAutoGenFilterType should regenerate the sublevels It should regenerate the sublevels according to the spec Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b75f830166eaf294e43746f1bf5630f7f2dcf30f Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 3 22:57:13 2015 +0200 st/nine: Simplify NineVolume9_CopyVolume We had only one usage for this function. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc42c29013209f80182a634e32c702edb2327b22 Author: Axel Davy <axel.d...@ens.fr> Date: Sun May 3 22:40:38 2015 +0200 st/nine: Split NineSurface9_CopySurface NineSurface9_CopySurface was supporting more cases than what we needed, and doing checks that were innapropriate for some NineSurface9_CopySurface use cases. This patch splits it into two for the two use cases, and moves the checks to the caller. This patch also adds a few checks to NineDevice9_UpdateSurface Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f36ad732c7fbe8fd38aa852c3699101fdd5041d Author: Axel Davy <axel.d...@ens.fr> Date: Tue May 5 23:51:24 2015 +0200 st/nine: Simplify Volume9 dirty region tracking Similar to what was done for Surface9, track the dirty region only in VolumeTexture9. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab0643225e2718884eea874b67b55eb4aa936e53 Author: Marek Olšák <marek.ol...@amd.com> Date: Sat Nov 8 13:02:47 2014 +0100 util/u_blitter: implement alpha blending for pipe->blit URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23da32a9234065e0a16e91ef2f54f1e1d9bf52e5 Author: Christoph Bumiller <e0425...@student.tuwien.ac.at> Date: Sat May 31 23:13:24 2014 +0200 gallium: Add blending to pipe blit This type of blending is used for gallium nine software cursor Signed-off-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30684712ee9a3ef6738de8c357134a01a24924c Author: Axel Davy <axel.d...@ens.fr> Date: Sat Mar 21 22:28:59 2015 +0100 st/nine: Revert to sw cursor in case of failure to set hw cursor Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df6f1f77cc63db3e6a7c105f3e7bab246b576eb9 Author: Axel Davy <axel.d...@ens.fr> Date: Sat Mar 21 22:23:56 2015 +0100 st/nine: Do not call ID3DPresent_GetCursorPos for sw cursor For sw cursor we do not tell wine the cursor position (the app tells us directly). We shouldn't use ID3DPresent_GetCursorPos. device->cursor.pos already contains the coordinates the app gave us. Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78b304e2f9f9ad9b97ac8665a44af09567159800 Author: Axel Davy <axel.d...@ens.fr> Date: Sun Mar 22 18:48:07 2015 +0100 st/nine: Force hw cursor for Windowed mode According to the spec, Windowed mode must have hw cursor Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b20eaff67fba9ac6310511c79d6de8851c39145 Author: Axel Davy <axel.d...@ens.fr> Date: Sat Mar 21 22:21:14 2015 +0100 st/nine: Hide hardware cursor when we don't use it We have either hardware cursor or software cursor. When we use software cursor, we should hide the hardware cursor. Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34708783833bb99e9e42cd40a745fed1354317f2 Author: Axel Davy <axel.d...@ens.fr> Date: Sun Feb 15 21:30:44 2015 +0100 st/nine: fix D3DRS_DITHERENABLE wrong state group D3DRS_DITHERENABLE was assigned to the rasterizer state group, but it was used for the blend group. Assign it to the blend group. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b645df2f309833cca5dbeaa2deceeda36a7426c Author: Patrick Rudolph <s...@das-labor.org> Date: Sun Apr 19 10:14:30 2015 +0200 st/nine: Account POINTSIZE_MIN and POINTSIZE_MAX for point size When using D3DRS_POINTSIZE make sure the value is at least D3DRS_POINTSIZE_MIN but not greater than D3DRS_POINTSIZE_MAX. Fixes some Wine tests. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=886227d363b7e889e2a9162c27059e2a9fe79cb7 Author: Patrick Rudolph <s...@das-labor.org> Date: Tue May 12 07:27:37 2015 +0200 st/nine: Align texture memory Align texture memory on 32 byte boundry to allow SSE/AVX memcpy to work on locked rects. This fixes some crashes with games using SSE. Reviewed-by: David Heidelberg <da...@ixit.cz> Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c4864fa5539d6b34863c28f3650289fd2a4ce93 Author: Axel Davy <axel.d...@ens.fr> Date: Sat May 16 18:41:51 2015 +0200 st/nine: Always set point_quad_rasterization to 1 Both Points and Point Sprites are rasterized like quads, according to d3d9 doc and gallium rasterizer doc. Signed-off-by: Axel Davy <axel.d...@ens.fr> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74de849bd44ee4a99d36d4d0c43d2a82a6ec07c2 Author: Axel Davy <axel.d...@ens.fr> Date: Sat May 16 22:41:26 2015 +0200 st/nine: Fix Swizzle for ATI2 format We had red and green in the wrong channels for the ATI2 format (RGTC2). Found thanks to wine tests. Signed-off-by: Axel Davy <axel.d...@ens.fr> Reviewed-by: David Heidelberg <da...@ixit.cz> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb2d680232d64d614db93e2d011bb446e863e384 Author: Patrick Rudolph <s...@das-labor.org> Date: Mon May 25 10:36:21 2015 +0200 target/d3dadapter9: Return Windows like card names Add support for multiple cards and fill in Win like card name, driver name and version info. Use fallback for unknown vendors and unknown card names. Reviewed-by: Axel Davy <axel.d...@ens.fr> Signed-off-by: Patrick Rudolph <s...@das-labor.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56717c0b069a20b0c4438ac1dc9280cd9026b36f Author: David Heidelberg <da...@ixit.cz> Date: Sat Apr 11 00:13:53 2015 +0200 st/nine: Require gcc >= 4.6 Nine code uses some C11 features, and this leads to compile error on gcc <= 4.5 Another way would have been to use the -fms-extensions CFLAG Signed-off-by: David Heidelberg <da...@ixit.cz> Cc: "10.4 10.5 10.6" <mesa-sta...@lists.freedesktop.org> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit