summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* radeonsi/gfx9: always compile monolithic ES-GS (asynchronously)Marek Olšák2017-04-282-1/+28
| | | | | | In addition to the non-monolithic variant. Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add support for monolithic ES-GSMarek Olšák2017-04-282-9/+72
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: make sure the 1st shader's main part exists for merged shadersMarek Olšák2017-04-281-18/+60
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: select shader parts for non-monolithic ES-GSMarek Olšák2017-04-281-3/+14
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add GS prolog support for merged ES-GSMarek Olšák2017-04-281-17/+70
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add VS prolog support for merged ES-GSMarek Olšák2017-04-281-0/+2
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: pass GS input SGPRs and VGPRs from the ES part to GSMarek Olšák2017-04-281-0/+32
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: store ES outputs to LDSMarek Olšák2017-04-281-4/+17
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: load GS inputs from LDSMarek Olšák2017-04-281-6/+39
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: get GS wave ID from the correct inputMarek Olšák2017-04-281-3/+11
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add the function signature of merged ES-GSMarek Olšák2017-04-282-12/+74
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: set registers and shader key for merged ES-GSMarek Olšák2017-04-285-27/+218
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add GS user SGPRsMarek Olšák2017-04-284-7/+25
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: rename declare_tess_lds -> declare_lds_as_pointerMarek Olšák2017-04-281-4/+4
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: simplify some shader type conditionsMarek Olšák2017-04-281-6/+2
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: rename the swizzle parameter of lds_storeMarek Olšák2017-04-281-2/+2
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: add si_shader::prolog2Marek Olšák2017-04-283-1/+25
| | | | | | For a GS prolog in merged ES-GS. Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: move RW_BUFFERS to s[0:1] for merged shadersMarek Olšák2017-04-283-21/+24
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add support for monolithic merged LS-HSMarek Olšák2017-04-282-17/+128
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: set EXEC for non-mono merged shaders, add a barrier between themMarek Olšák2017-04-281-2/+41
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: don't store the HS control wordMarek Olšák2017-04-281-7/+12
| | | | | | GFX9 doesn't have it. Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: pass inputs from LS to TCSMarek Olšák2017-04-282-2/+69
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add TCS epilog support for merged LS-HSMarek Olšák2017-04-281-34/+76
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add VS prolog support for merged LS-HSMarek Olšák2017-04-282-10/+21
| | | | | | HS input VGPRs must be reserved. Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: merged shaders have scratch offset at the beginningMarek Olšák2017-04-282-1/+13
| | | | | | also, screen wasn't initialized for compute shaders Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: define LS-HS main shader function prototypeMarek Olšák2017-04-281-38/+147
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: assign VS/TCS/TES/GS shader input parameter locations dynamicallyMarek Olšák2017-04-283-193/+190
| | | | | | They will vary with merged stages. Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: define and set LS-HS user SGPRsMarek Olšák2017-04-285-20/+57
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: set up shader registers for merged LS-HSMarek Olšák2017-04-283-15/+55
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add initial code generation for non-monolithic merged LS-HSMarek Olšák2017-04-283-1/+23
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: separate out code for selecting the VS prologMarek Olšák2017-04-281-17/+29
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: add si_shader::previous_stage for merged shadersMarek Olšák2017-04-283-1/+39
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: enlarge num_input_sgprs in shader keys due to higher hw limitMarek Olšák2017-04-281-2/+2
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi/gfx9: update the summary of shader stage configsMarek Olšák2017-04-281-4/+9
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: adjust the signature of si_get_vs_prolog_keyMarek Olšák2017-04-281-9/+21
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: separate out VS prolog key generationMarek Olšák2017-04-281-11/+20
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: separate out VS prolog key printingMarek Olšák2017-04-281-19/+29
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: code shuffling in si_emit_derived_tess_stateMarek Olšák2017-04-281-31/+38
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* radeonsi: separate out TGSI initialization of si_shader_contextMarek Olšák2017-04-283-43/+72
| | | | | | so that we can put multiple different TGSI shaders into one module. Reviewed-by: Nicolai Hähnle <[email protected]>
* st/mesa: use min_index and max_index directly from vboMarek Olšák2017-04-281-7/+2
| | | | | | also remove the incorrect comment about primitive restart. Reviewed-by: Nicolai Hähnle <[email protected]>
* vbo: set min_index = 0 so gallium can use the value directlyMarek Olšák2017-04-282-4/+4
| | | | | | | We could also remove index_bounds_valid and use max_index != ~0 instead. Opinions on that are welcome. Reviewed-by: Nicolai Hähnle <[email protected]>
* Revert "glsl: reject image qualifiers with non-image types inside uniform ↵Matt Turner2017-04-281-2/+0
| | | | | | | | | | | | | | | | | | blocks" This reverts commit 24011ead71ea9980e6b34e40d9dbd64e6560f5a4. This causes lots of ES 3.1 CTS tests to fail to compile a bit of code like: layout(binding = 0) buffer InOut { highp uint inputValues[384]; highp uint outputValues[384]; coherent highp uint groupValues[64]; <----- } sb_inout; error: memory qualifiers may only be applied to images
* st/mesa: add more fallback gallium formats for GL integer formatsBrian Paul2017-04-281-25/+25
| | | | | | | | | | | | | | | The VMware driver has a limited set of integer texture formats. We often have to fall back to 4-component formats when 1- or 2-component formats are missing. This fixes about 8 integer texture Piglit tests with the VMware driver on Linux. We've had this code in-house for a long time but I guess it was never up-streamed to Mesa master. This shouldn't regress any other drivers since we're either choosing an earlier format in the list, or failing anyway. Reviewed-by: Marek Olšák <[email protected]>
* mesa: optimize color_buffer_writes_enabled()Brian Paul2017-04-281-4/+5
| | | | | | | | | | Return as soon as we find an existing color channel that's enabled for writing. Typically, this allows us to return true on the first loop iteration intead of doing four iterations. No piglit regressions. Reviewed-by: Marek Olšák <[email protected]>
* st/mesa: whitespace clean-ups in st_manager.cBrian Paul2017-04-281-7/+8
| | | | Trivial.
* Revert "glsl: set vector_elements to 1 for samplers"Matt Turner2017-04-282-6/+16
| | | | | | This reverts commit 75a31a20af269c047661af33e28f793269537b79. This breaks thousands of tests on i965 with malloc corruption.
* anv: Drop 'x11' prefix from non-X11 WSI funcsChad Versace2017-04-281-16/+16
| | | | | | | Drop it from x11_anv_wsi_image_create and x11_anv_wsi_image_free. The functions are used by Wayland WSI too. Reviewed-by: Jason Ekstrand <[email protected]>
* anv: Alphabetize KHR extensionsJason Ekstrand2017-04-281-18/+18
| | | | Reviewed-by: Alejandro Piñeiro <[email protected]>
* ac: automake: sort sources list alphabeticallyEmil Velikov2017-04-281-3/+3
| | | | Signed-off-by: Emil Velikov <[email protected]>
* ac: include all sources in the tarballEmil Velikov2017-04-281-0/+1
| | | | | Fixes: e2659176cef ("radeonsi/ac: move vertex export remove to common code.") Signed-off-by: Emil Velikov <[email protected]>