summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* math: Import isinf and others to global namespacePierre Moreau2016-04-181-0/+23
| | | | | | | | | | | | | | | | | | | Starting from C++11, several math functions, like isinf, moved into the std namespace. Since cmath undefines those functions before redefining them inside the namespace, and glibc 2.23 defines the C variants as macros, the C variants in global namespace are not accessible any longer. v2: Move the fix outside of Nouveau, as suggested by Jose Fonseca, since anyone might need it when GCC switches to C++14 by default with GCC 6.0. v3: * Put the code directly inside c99_math.h rather than creating a new header file, as asked by Jose Fonseca; * Guard the code behind glibc version checks, as only glibc > =2.23 defines isinf & co. as functions, as suggested by Jose Fonseca. Signed-off-by: Pierre Moreau <[email protected]> Signed-off-by: Jose Fonseca <[email protected]>
* Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-04-041-5/+11
|\
| * st/nine: specify WINAPI only for i386 and amd64Christian Schmidbauer2016-04-021-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently mesa fails building with the x32 abi as ms_abi is not defined in such a case. The patch uses ms_abi only for amd64 targets and stdcall only for i386 targets to be sure that those are defined. This patch additionally checks for __GNUC__ to guarantee that __attribute__ is available. CC: "11.1 11.2" <[email protected]> Signed-off-by: Christian Schmidbauer <[email protected]> Acked-by: Axel Davy <[email protected]>
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-04-011-0/+10
|\|
| * radeonsi: add Polaris PCI IDsSonny Jiang2016-03-241-0/+10
| | | | | | | | | | | | Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> (Polaris10) Reviewed-by: Michel Dänzer <[email protected]> (Polaris11)
* | Update to the latest Vulkan header from KhronosJason Ekstrand2016-03-222-15/+141
| |
* | Merge remote-tracking branch 'public/master' into vulkanJason Ekstrand2016-03-153-13/+7
|\|
| * i965/chv: Display proper brandingBen Widawsky2016-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Braswell" is a Cherryview based *thing*. It unfortunately requires extra information to determine its marketing name. Unlike all previous products, and hopefully all future ones, there is no unique 1:1 mapping of PCI device ID to brand string. I put up a fight about adding any complexity to our GL renderer string code for a very long time. However, a wise man made a comment to me that I couldn't argue with: if a user installs Windows on their hardware, the brand string should be the same as what we display in Linux. The Windows driver apparently does this check, so we should too. Note that I did manage to find a good use for this info anyway in the compute shader thread counts. v2: memcpy instead of strncpy, and some minor changes (Matt) Signed-off-by: Ben Widawsky <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jordan Justen <[email protected]
| * egl: remove remnants of MESA_drm_displayEmil Velikov2016-03-091-11/+0
| | | | | | | | | | | | | | Last set in st/egl, unused in mesa-demos and superseded by EGL_KHR_platform_gbm. Signed-off-by: Emil Velikov <[email protected]>
| * dri: add backbuffer use flagAxel Davy2016-03-091-0/+5
| | | | | | | | | | | | This will be used by the next commit. Reviewed-by: Ian Romanick <[email protected]>
* | Merge remote-tracking branch 'origin/master' into vulkanKenneth Graunke2016-03-011-0/+1
|\|
| * virtio_gpu: Add virtio 1.0 PCI ID to driver mapMarc-André Lureau2016-02-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the virtio-gpu PCI ID for virtio 1.0 (according to the specification, "the PCI Device ID is calculated by adding 0x1040 to the Virtio Device ID") Support for virtio 1.0 was added in qemu 2.4 (same time virtio-gpu landed). Cc: "11.1 11.2" <[email protected]> Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* | Merge remote-tracking branch 'origin/master' into vulkanKristian Høgsberg Kristensen2016-02-241-8/+10
|\|
| * i965/skl: Update Skylake renderer stringsBen Widawsky2016-02-171-9/+9
| | | | | | | | | | | | | | | | | | | | Also adds some of the Iris/Pro parts which we previously didn't have named. v2: 0x192d is gt3, not gt4 Adding some 'e' tags for eDRAM parts Signed-off-by: Ben Widawsky <[email protected]> Acked-by: Michał Winiarski <[email protected]>
| * i965/skl: Add two missing device IDsBen Widawsky2016-02-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The Iris part is left unbranded because we did not have these with original SKL. v2: 0x192d is gt3, not gt4 v3: Forgot to update the temporary brand string when I did v2. Cc: "11.0 11.1" <[email protected] Signed-off-by: Ben Widawsky <[email protected]> Acked-by: Michał Winiarski <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2016-02-115-646/+9
|\|
| * include,gallium: Remove pre-MSVC 2013 compatibility.Jose Fonseca2016-02-115-646/+9
| | | | | | | | | | Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2016-02-052-0/+4
|\|
| * st/nine: Handle Window OcclusionPatrick Rudolph2016-02-042-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps can know if the window is occluded by checking for specific error messages. The behaviour is different for Device9 and Device9Ex. This allow games to release the mouse and stop rendering until the focus is restored. In case of multiple swapchain we do care only of the device one. Signed-off-by: Patrick Rudolph <[email protected]> Reviewed-by: Axel Davy <[email protected]>
* | Merge branch mesa-public/master into vulkanJason Ekstrand2016-02-051-0/+1
|\|
| * virtio_gpu: Add PCI ID to driver mapRob Herring2016-01-231-0/+1
| | | | | | | | | | | | | | Add the virtio-gpu PCI ID so the driver probing works. Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* | vulkan: Bump the header to 1.0.3Jason Ekstrand2016-02-021-2/+5
| |
* | vulkan: Import vk_icd.hJason Ekstrand2016-01-291-0/+85
| |
* | vulkan.h: Update to 1.0.2Jason Ekstrand2016-01-271-4/+5
| |
* | vulkan.h: Pull in 1.0.1 headerJason Ekstrand2016-01-141-855/+855
| |
* | vulkan-1.0.0: Bump the version to 1.0.0Jason Ekstrand2016-01-141-1/+1
| |
* | vulkan-1.0.0: Rework memory barriersJason Ekstrand2016-01-141-4/+12
| |
* | vulkan-1.0.0: No-op WSI changesJason Ekstrand2016-01-141-1/+2
| |
* | vulkan-1.0.0: Make extents unsignedJason Ekstrand2016-01-141-5/+5
| |
* | vulkan-1.0.0: Rework blits to use four offsetsJason Ekstrand2016-01-141-4/+2
| |
* | vulkan-1.0.0: Split out command buffer inheritance infoJason Ekstrand2016-01-141-9/+16
| |
* | vulkan-1.0.0: Re-order some structs in the headerJason Ekstrand2016-01-141-27/+27
| |
* | vulkan-1.0.0: Misc. field and argument renamesJason Ekstrand2016-01-141-15/+15
| |
* | vulkan-1.0.0: Get rid of MIPMAP_MODE_BASEJason Ekstrand2016-01-141-5/+4
| |
* | vulkan-1.0.0: Convert pPreserveAttachments to a uint32_tJason Ekstrand2016-01-141-1/+1
| |
* | WIP: Partially upgrade to vulkan v0.221.0BogDan Vatra2016-01-141-100/+173
| | | | | | | | | | | | | | | | | | | | TODO, make use of: - VkPhysicalDeviceFeatures.drawIndirectFirstInstance, - VkPhysicalDeviceFeatures.inheritedQueries - VkPhysicalDeviceLimits.timestampComputeAndGraphics - VkSubmitInfo.pWaitDstStageMask - VkSubresourceLayout.arrayPitch - VkSamplerCreateInfo.anisotropyEnable
* | Merge ../mesa into vulkanKristian Høgsberg Kristensen2016-01-081-0/+22
|\|
| * mesa: Add KBL PCI IDs and platform information.Sarah Sharp2016-01-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PCI IDs for the Intel Kabylake platforms. The IDs are taken directly from the Linux kernel patches, which are under review: http://lists.freedesktop.org/archives/intel-gfx/2015-October/078967.html http://cgit.freedesktop.org/~vivijim/drm-intel/log/?h=kbl-upstream-v2 The Kabylake PCI IDs taken from the kernel are rearranged to be in order of GT type, then PCI ID. Please note that if this patch is backported, the following fixes will need to be added before this patch: commit 28ed1e08e8ba98e "i965/skl: Remove early platform support" commit c1e38ad37042b0e "i965/skl: Use larger URB size where available." Thanks to Ben for fixing a bug around setting urb.size, and being patient with my questions about what the various fields mean. Signed-off-by: Sarah Sharp <[email protected]> Suggested-by: Ben Widawsky <[email protected]> Tested-by: Rodrigo Vivi <[email protected]> (KBL-GT2) Cc: "11.1" <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-12-271-2/+43
|\| | | | | | | This pulls in tessellation and the store_var changes that go with it.
| * osmesa: add new OSMesaCreateContextAttribs functionBrian Paul2015-12-161-2/+43
| | | | | | | | | | | | | | This allows specifying a GL profile and version so one can get a core- profile context. Reviewed-by: Jose Fonseca <[email protected]>
* | Merge remote-tracking branch 'mesa-public/master' into vulkanJason Ekstrand2015-12-102-12/+934
|\| | | | | | | | | This pulls in nir_intrinsic_load/store changes and the switch of all uniforms in i965 to bytes. This accounts for the Vulkan changes.
| * Remove Sun CC specific code.Jose Fonseca2015-12-021-6/+0
| | | | | | | | | | Reviewed-by: Matt Turner <[email protected]> Acked-by: Alan Coopersmith <[email protected]>
| * gles2: Update gl2ext.h to revision: 32120Marta Lofstedt2015-11-301-6/+934
| | | | | | | | | | | | | | | | | | This is needed to be able to implement the accepted OES extensions. Cc: "11.0 11.1" <[email protected]> Signed-off-by: Marta Lofstedt <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
* | vulkan: Pull in the 0.210.1 vk_platform headerJason Ekstrand2015-12-091-13/+25
| | | | | | | | Somehow this got missed in the API update.
* | vk: Add new WSI support and bump the API to 0.210.1Jason Ekstrand2015-12-033-364/+497
| |
* | vk/0.210.0: Advertise version 0.210.0Jason Ekstrand2015-12-033-6123/+1
| |
* | vk/0.210.0: Update queries to the new APIJason Ekstrand2015-12-031-33/+29
| |
* | vk/0.210.0: Update the VkFormat enumJason Ekstrand2015-12-031-154/+165
| |
* | vk/0.210.0: Rework vkQueueSubmitJason Ekstrand2015-12-031-3/+14
| |
* | vk/0.210.0: Remove depth clip and add depth clampJason Ekstrand2015-12-031-1/+1
| |