summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r600: replace MAYBE_UNUSED with specific #ifdefEric Engestrom2019-07-311-2/+2
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* gallium/aux: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-312-3/+3
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* mesa: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-311-2/+2
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* v3d: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-312-5/+5
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* v3d: drop incorrect MAYBE_UNUSEDEric Engestrom2019-07-311-2/+2
| | | | | | | While at it, use that `screen` variable everywhere. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* st/tests: drop incorrect MAYBE_UNUSEDEric Engestrom2019-07-311-2/+2
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* radv: drop incorrect MAYBE_UNUSEDEric Engestrom2019-07-311-2/+2
| | | | | | | `compressed` is clearly always used on the line right after. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* r600: move variable to proper scopeEric Engestrom2019-07-311-2/+1
| | | | | | | It helps show when it's actually used. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* compiler: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-315-6/+6
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* mesa: drop MAYBE_UNUSED varEric Engestrom2019-07-311-3/+1
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* anv: drop MAYBE_UNUSED varEric Engestrom2019-07-311-4/+1
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* i965: drop unused MAYBE_UNUSED functionEric Engestrom2019-07-311-11/+1
| | | | | | | | Added in 1b85c605a60a80975460 but never used. Cc: Jordan Justen <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* i965: replace MAYBE_UNUSED with GEN conditionEric Engestrom2019-07-311-1/+2
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* intel: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-315-10/+10
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* intel: drop incorrect MAYBE_UNUSEDEric Engestrom2019-07-316-9/+9
| | | | | | | All these are actually always used. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* egl: replace MAYBE_UNUSED with UNUSEDEric Engestrom2019-07-311-1/+1
| | | | | | | | MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* radv/gfx10: add Wave32 support for compute shadersSamuel Pitoiset2019-07-317-6/+53
| | | | | | | It can be enabled with RADV_PERFTEST=cswave32. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
* iris: Skip repeated depth buffer disables.Kenneth Graunke2019-07-301-2/+4
| | | | | | | | | Often times, the depth buffer is entirely disabled, but color render targets change. For example, GenerateMipmaps will change the color render target for each miplevel, but there is no depth buffer. In the Civilization VI benchmark, this drops the median number of 3DSTATE_DEPTH_BUFFER etc. packets emitted per frame from 472 to 34.
* radeonsi: release NIR in the right place to fix crashesMarek Olšák2019-07-301-1/+1
|
* radeonsi: fix packing of key.mono.u.psMarek Olšák2019-07-301-3/+3
|
* ac/nir: fix incorrect Phis if callbacks use control flow inside control flowMarek Olšák2019-07-301-2/+2
|
* ac/nir: handle abs modifierMarek Olšák2019-07-301-11/+30
|
* ac: fix a memory leak in the error path of ac_build_type_name_for_intrMarek Olšák2019-07-301-0/+1
|
* ac: allow control flow statements in NIR callbacksMarek Olšák2019-07-302-20/+29
| | | | This fixes a crash when compiling geometry shaders on radeonsi.
* ac/nir: handle negate modifierMarek Olšák2019-07-301-1/+12
|
* radeonsi: don't use lp_build_if for the prim discard compute shaderMarek Olšák2019-07-301-23/+18
|
* radeonsi: don't use lp_build_if for the wrapping if block in the VS prologMarek Olšák2019-07-301-7/+8
|
* radeonsi: don't use lp_build_if for the wrapping if block in merged shadersMarek Olšák2019-07-303-7/+11
|
* radeonsi: don't use lp_build_if (in most common places)Marek Olšák2019-07-302-29/+22
|
* radeonsi: don't use lp_build_allocaMarek Olšák2019-07-303-4/+3
|
* radeonsi/nir: implement FBFETCH for KHR_blend_equation_advancedMarek Olšák2019-07-305-7/+28
|
* radeonsi/nir: set input_interpolate_loc for color inputsMarek Olšák2019-07-301-0/+10
| | | | Reviewed-by: Connor Abbott <[email protected]>
* radeonsi/nir: set tgsi_shader_info::num_memory_instructionsMarek Olšák2019-07-301-0/+5
|
* radeonsi/nir: accurately set input_usage_mask for doubles (v2)Marek Olšák2019-07-301-4/+14
| | | | | | v2: fix doubles Reviewed-by: Timothy Arceri <[email protected]>
* radeonsi/nir: accurately set output_usagemask (v2)Marek Olšák2019-07-301-4/+49
| | | | v2: fix doubles
* radeonsi/nir: accurately set reads_*_outputs for TCSMarek Olšák2019-07-301-14/+10
|
* radeonsi/nir: clean up gather_intrinsic_load_deref_input_infoMarek Olšák2019-07-301-8/+6
|
* radeonsi/nir: add an option to convert TGSI to NIRMarek Olšák2019-07-304-5/+19
| | | | | | Use at your own risk. Reviewed-by: Timothy Arceri <[email protected]>
* radeonsi/nir: clean up some nir_scan_shader codeMarek Olšák2019-07-301-16/+6
| | | | Reviewed-by: Timothy Arceri <[email protected]>
* radeonsi/gfx10: disable DCC image storesMarek Olšák2019-07-302-3/+2
| | | | | | | Uncompressed image stores are usually faster. Also, the driver didn't set WRITE_COMPRESS_ENABLE, so I don't know what the hw did for image stores.
* radeonsi: adjust RB+ blend optimization settingsMarek Olšák2019-07-302-4/+2
| | | | based on PAL
* ac/surface: allow linear swizzle mode automatic selection on gfx9 & 10Marek Olšák2019-07-301-1/+0
| | | | let addrlib make the decision to get the same result as PAL.
* mesa: add EXT_dsa indexed generic queriesPierre-Eric Pelloux-Prayer2019-07-306-5/+65
| | | | | Only GetPointerIndexedvEXT needs an implementation, the other functions are aliases of existing functions.
* mesa: add EXT_dsa indexed texture commands functionsPierre-Eric Pelloux-Prayer2019-07-305-2/+76
| | | | | | | | | | | | | | | | | | | | | Added functions: - EnableClientStateIndexedEXT - DisableClientStateIndexedEXT - EnableClientStateiEXT - DisableClientStateiEXT Implemented using the idiom provided by the spec: if (array == TEXTURE_COORD_ARRAY) { int savedClientActiveTexture; GetIntegerv(CLIENT_ACTIVE_TEXTURE, &savedClientActiveTexture); ClientActiveTexture(TEXTURE0+index); XXX(array); ClientActiveTexture(savedActiveTexture); } else { // Invalid enum }
* mesa: add EXT_dsa (Named)Framebuffer functionsPierre-Eric Pelloux-Prayer2019-07-307-22/+388
| | | | | | | | | | These functions dont support display list as specified: Should the selector-free versions of various OpenGL 3.0 and EXT_framebuffer_object framebuffer object commands not be allowed in display lists [...]? RESOLVED: Yes
* mesa: add EXT_dsa NamedBuffer functionsPierre-Eric Pelloux-Prayer2019-07-305-9/+150
|
* i965/curbe: Look at SYSTEM_VALUE_FRAG_COORD instead of VARYING_SLOT_POSJason Ekstrand2019-07-301-1/+1
| | | | | | | | | | When transitioning gl_FragCoord over to a system value, we missed one instance of VARYING_SLOT_POS in i965. As of this commit, i965 has no references to VARYING_SLOT_POS. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111263 Fixes: 4bb6e6817ec "intel: Use a system value for gl_FragCoord" Reviewed-by: Kenneth Graunke <[email protected]>
* intel/fs: Implement quad_swap_horizontal with a swizzle on gen7Jason Ekstrand2019-07-301-7/+20
| | | | | | | | This fixes dEQP-VK.subgroups.quad.compute.subgroupquadswaphorizontal_* on all gen7 platforms. Cc: [email protected] Reviewed-by: Matt Turner <[email protected]>
* intel/fs: Use ALIGN16 instructions for all derivatives on gen <= 7Jason Ekstrand2019-07-302-24/+65
| | | | | | | | | | | | | | | | | | | | | | | The issue here was discovered by a set of Vulkan CTS tests: dEQP-VK.glsl.derivate.*.dynamic_* These tests use ballot ops to construct a branch condition that takes the same path for each 2x2 quad but may not be uniform across the whole subgroup. They then tests that derivatives work and give the correct value even when executed inside such a branch. Because the derivative isn't executed in uniform control-flow and the values coming into the derivative aren't smooth (or worse, linear), they nicely catch bugs that aren't uncovered by simpler derivative tests. Unfortunately, these tests require Vulkan and the equivalent GL test would require the GL_ARB_shader_ballot extension which requires int64. Because the requirements for these tests are so high, it's not easy to test on older hardware and the bug is only proven to exist on gen7; gen4-6 are a conjecture. Cc: [email protected] Reviewed-by: Matt Turner <[email protected]>
* i965/fs: Print the scheduler mode.Matt Turner2019-07-304-8/+28
| | | | | | | | Line wrap some awfully long lines while we are here. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ian Romanick <[email protected]>