summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* winsys/sw/kms-dri: don't attempt to bundle the sconscriptEmil Velikov2015-08-221-2/+0
| | | | | | | | The build/file was removed with an earlier commit while the EXTRA_DIST was forgotten. Fixes: 66d77cd71c6 (scons: don't build the kms-dri winsys) Signed-off-by: Emil Velikov <[email protected]>
* winsys/amdgpu: automake: remove missing headersEmil Velikov2015-08-221-2/+0
| | | | | | | The files are not referenced in any other place in whole of mesa. They are likely remnants of the early development stage. Signed-off-by: Emil Velikov <[email protected]>
* automake: build all drivers but vc4 during distcheckEmil Velikov2015-08-221-1/+3
| | | | | | | | vc4 conflicts with ilo, when build on x86 as it's build for emulation purposes. In that mode a i965-like symbol is exported by vc4, which conflicts with the ilo one in the gallium-dri megadriver. Signed-off-by: Emil Velikov <[email protected]>
* android: enable amdgpu winsys in radeonsi driverMauro Rossi2015-08-221-2/+2
| | | | | Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* android: fix cflags and includes for amdgpu winsysMauro Rossi2015-08-221-0/+10
| | | | | Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* docs: add news item and link release notes for 10.6.5Emil Velikov2015-08-222-0/+7
| | | | Signed-off-by: Emil Velikov <[email protected]>
* docs: add sha256 checksums for 10.6.5Emil Velikov2015-08-221-1/+2
| | | | | Signed-off-by: Emil Velikov <[email protected]> (cherry picked from commit fa34225167396008e75e93f23696666caba8a7bf)
* docs: add release notes for 10.6.5Emil Velikov2015-08-221-0/+123
| | | | | Signed-off-by: Emil Velikov <[email protected]> (cherry picked from commit a43b3dd99bd4c114d0f3e90f4fd4792164fe7539)
* i965: Move control flush into pipelined conditional renderChris Wilson2015-08-222-14/+11
| | | | | | | | | | | | | | | The nv_conditional_render piglits were sporadically failing. Moving the control flush from the write and placing it just before the read was sufficient to make the piglits pass a 1000/1000 times. The bspec says that the flush enable bit "waits until all previous writes of immediate data from post sync circles are complete before executing the next command" - the operative word being previous! Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90691 Signed-off-by: Chris Wilson <[email protected]> Cc: Neil Roberts <[email protected]> Cc: Kenneth Graunke <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* vc4: Actually allow math results to allocate into r4.Eric Anholt2015-08-212-1/+7
| | | | | | | | | | I switched us to tracking whether the results *could* go to r4, but then didn't make a separate register class for the class bits that included r4. Switch the "any" class to actually be "any", and name the "any but r4" class more appropriately. total instructions in shared programs: 96798 -> 94680 (-2.19%) instructions in affected programs: 62736 -> 60618 (-3.38%)
* vc4: Fold the 16-bit integer pack into the instructions generating it.Eric Anholt2015-08-215-30/+22
| | | | | total instructions in shared programs: 97580 -> 96798 (-0.80%) instructions in affected programs: 52826 -> 52044 (-1.48%)
* vc4: Reuse QPU dumping for packing bits in QIR.Eric Anholt2015-08-213-22/+26
|
* vc4: Make _dest variants of qir ALU helpers to provide an explicit dest.Eric Anholt2015-08-212-4/+20
|
* vc4: Use the SSA defs list for figuring out eligible MOVs for copy prop.Eric Anholt2015-08-211-12/+10
| | | | | I thought I'd converted this over previously. It was copy propagating MOVs badly with the new destination packing flags.
* st/nine: Always use user constant buffersKrzysztof Sobiecki2015-08-211-1/+3
| | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Krzysztof Sobiecki <[email protected]>
* st/nine: Silent warning in nine_ffAxel Davy2015-08-211-0/+2
| | | | | | release build was complaining Signed-off-by: Axel Davy <[email protected]>
* st/nine: Silent warning in sm1_declusage_to_tgsiAxel Davy2015-08-211-1/+1
| | | | | | release build was complaining Signed-off-by: Axel Davy <[email protected]>
* st/nine: Silent warning in NineCubeTexture9_ctorAxel Davy2015-08-211-1/+1
| | | | | | The compiler was complaining the value may be uninitialised when it is used (which is wrong). Initialize to NULL to silent the warning.
* st/nine: Silent warning in update_vertex_bufferAxel Davy2015-08-211-1/+0
| | | | There was an unused variable
* st/nine: Catch setting the same shaderAxel Davy2015-08-211-0/+6
| | | | | | | | 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 <[email protected]>
* st/nine: Avoid Constant upload when there is no changeAxel Davy2015-08-211-0/+42
| | | | | | | | | | | 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 <[email protected]>
* st/nine: Fix the number of texture stagesAxel Davy2015-08-212-4/+6
| | | | | | | | | | | 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 <[email protected]>
* st/nine: Use CSO cache for sampler viewsAxel Davy2015-08-214-23/+5
| | | | | | | | 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 <[email protected]>
* st/nine: Calculate dummy sampler state only onceAxel Davy2015-08-213-35/+24
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Better check shader constant limitsAxel Davy2015-08-211-9/+27
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Remove NINED3DRS_ZBIASSCALEAxel Davy2015-08-213-23/+12
| | | | | | | | | It wasn't giving the expected result. This fixes some object being transparents in games like FEAR. Signed-off-by: Axel Davy <[email protected]>
* st/nine: Implement special DOTPRODUCT3 behaviourAxel Davy2015-08-211-0/+4
| | | | | | Taken from wine tests Signed-off-by: Axel Davy <[email protected]>
* st/nine: Implement ff vertex data passthroughAxel Davy2015-08-211-7/+61
| | | | | | Fixes Wine tests Signed-off-by: Axel Davy <[email protected]>
* st/nine: Change nine_state_update orderAxel Davy2015-08-211-63/+76
| | | | | | | | | 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 <[email protected]>
* st/nine: Programmable ps D3DTTSS_PROJECTED supportAxel Davy2015-08-217-8/+74
| | | | | | The implementation used Wine tests for conformance Signed-off-by: Axel Davy <[email protected]>
* st/nine: Complete ff texture transform implementationAxel Davy2015-08-213-70/+174
| | | | | | Wine tests were used to get it right. Signed-off-by: Axel Davy <[email protected]>
* st/nine: Change a few advertised capsAxel Davy2015-08-211-15/+11
| | | | | | | | | 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 <[email protected]>
* st/nine: Advertise Fog flagsAxel Davy2015-08-211-6/+6
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Revert to userbuf path when neededAxel Davy2015-08-211-0/+11
| | | | | | | | Automatically switch to userbuf path when we would need to upload fog or bumpmat constants Signed-off-by: Axel Davy <[email protected]>
* st/nine: Finish Fog implementationAxel Davy2015-08-218-26/+147
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Rework shader statesAxel Davy2015-08-216-115/+207
| | | | | | | Separate state setting and commit Changes how the shader key is computed Signed-off-by: Axel Davy <[email protected]>
* st/nine: Remove some useless variablesAxel Davy2015-08-212-2/+0
| | | | | Signed-off-by: Axel Davy <[email protected]> Reviewed-by: David Heidelberg <[email protected]>
* st/nine: Fix nine_ff_ps_key paddingAxel Davy2015-08-211-1/+3
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Begin programmable shader fog supportAxel Davy2015-08-211-7/+42
| | | | Signed-off-by: Axel Davy <[email protected]>
* st/nine: Fix fixed function fog supportAxel Davy2015-08-211-34/+19
| | | | | | Previous code had only a subcase of fog working right. Signed-off-by: Axel Davy <[email protected]>
* st/nine: Rework ff constant buffersAxel Davy2015-08-214-87/+57
| | | | | | | | | 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 <[email protected]>
* st/nine: Rework constant buffer state handlingAxel Davy2015-08-215-342/+337
| | | | | | | | | | | | | | | | 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 <[email protected]>
* st/nine: Rework blend statesAxel Davy2015-08-214-10/+21
| | | | | | Separate state preparation and state commit Signed-off-by: Axel Davy <[email protected]>
* st/nine: Improve fallback when driver doesn't support user buffers.Axel Davy2015-08-214-18/+103
| | | | | | | | | | | 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 <[email protected]>
* st/nine: Avoid useless updates in SetSamplerStateAxel Davy2015-08-211-5/+7
| | | | | | | Check for redundant settings Signed-off-by: Axel Davy <[email protected]> Reviewed-by: David Heidelberg <[email protected]>
* st/nine: Rework rasterizer statesAxel Davy2015-08-214-12/+22
| | | | | | Separate state preparation and state commit Signed-off-by: Axel Davy <[email protected]>
* st/nine: Reorder DSA state settingsAxel Davy2015-08-214-11/+30
| | | | | | Separate state preparation and state commit Signed-off-by: Axel Davy <[email protected]>
* st/nine: Reorder nine_state.Axel Davy2015-08-211-31/+43
| | | | | | | | | | | | 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 <[email protected]>
* st/nine: Remove group_mask argument from nine_update_stateAxel Davy2015-08-214-14/+28
| | | | | | | It was only used to discriminate update framebuffer vs update everything. Instead use two functions. Signed-off-by: Axel Davy <[email protected]>
* st/nine: Implement TEXBEM,TEXBEML and BEMTiziano Bacocco2015-08-217-8/+165
| | | | Signed-off-by: Tiziano Bacocco <[email protected]>