Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: add EXT_shader_image_load_store new image functions | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 3 | -0/+22 |
| | | | | | | | | This extension has 2 functions that are missing from the ARB versions: - imageAtomicIncWrap - imageAtomicDecWrap Reviewed-by: Marek Olšák <[email protected]> | ||||
* | glsl: add EXT_shader_image_load_store keywords to lexer | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 1 | -36/+36 |
| | | | | | | All of them already existed for ARB_shader_image_load_store. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | glsl: add size qualifiers from EXT_shader_image_load_store | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 2 | -39/+93 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | glsl: handle differences between ARB/EXT versions of shader_image_load_store | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 4 | -3/+21 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_shader_image_load_store glBindImageTextureEXT function | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 5 | -11/+48 |
| | | | | | | | The implementation is almost identical to glBindImageTexture except for error checking. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | glapi: add EXT_shader_image_load_store | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 6 | -0/+92 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | gallium: add PIPE_CAP_TGSI_ATOMINC_WRAP to indicate support | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 7 | -0/+7 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | tgsi: add ATOMICINC_WRAP/ATOMICDEC_WRAP opcode | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 7 | -2/+44 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | radeonsi/gfx10: enable all CUs for GS if NGG is never used | Marek Olšák | 2019-08-06 | 1 | -2/+4 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: add global use_ngg and use_ngg_streamout flags | Marek Olšák | 2019-08-06 | 9 | -32/+41 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: remove an obsolete VGT_REUSE_OFF workaround | Marek Olšák | 2019-08-06 | 2 | -9/+0 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: disable LATE_ALLOC_GS on Navi14 | Marek Olšák | 2019-08-06 | 1 | -1/+8 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: implement a bug workaround for GE_PC_ALLOC | Marek Olšák | 2019-08-06 | 2 | -11/+12 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: implement a bug workaround for NGG -> legacy transitions | Marek Olšák | 2019-08-06 | 2 | -2/+16 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: implement a GE bug workaround | Marek Olšák | 2019-08-06 | 1 | -0/+18 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: set GE_CNTL for tessellation correctly | Marek Olšák | 2019-08-06 | 1 | -5/+11 |
| | | | | | | | to match PAL Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: simplify NGG code in si_update_shaders | Marek Olšák | 2019-08-06 | 1 | -9/+3 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/gfx10: fix input VGPRs for legacy VS | Marek Olšák | 2019-08-06 | 2 | -8/+11 |
| | | | | | Reviewed-by: Samuel Pitoiset <[email protected]> Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: make sure that rasterizer state != NULL and remove all NULL checking | Marek Olšák | 2019-08-06 | 7 | -17/+23 |
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: make sure that DSA state != NULL and remove all NULL checking | Marek Olšák | 2019-08-06 | 7 | -12/+19 |
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: make sure that blend state != NULL and remove all NULL checking | Marek Olšák | 2019-08-06 | 7 | -55/+52 |
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: DCC MSAA blending bug - include logic op, limit to Navi14 and older | Marek Olšák | 2019-08-06 | 2 | -2/+9 |
| | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: determine accurately whether logic op is enabled | Marek Olšák | 2019-08-06 | 1 | -3/+5 |
| | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: skip draw calls with 0-sized index buffers | Marek Olšák | 2019-08-06 | 1 | -0/+6 |
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/nir: lower PS inputs before scanning the shader | Marek Olšák | 2019-08-06 | 3 | -95/+86 |
| | | | | | | | Lowering PS inputs can eliminate some of them, which messes up persp/linear barycentric coord usage info. Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi/nir: handle key.mono.u.ps.interpolate_at_sample_force_center | Marek Olšák | 2019-08-06 | 3 | -1/+8 |
| | | | | Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: add missing prints into si_dump_shader_key | Marek Olšák | 2019-08-06 | 1 | -0/+9 |
| | | | | Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | radeonsi: disable SDMA image copies on dGPUs to fix corruption in games | Marek Olšák | 2019-08-06 | 1 | -1/+9 |
| | | | | | Cc: 19.1 19.2 <[email protected]> Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> | ||||
* | mesa: add EXT_dsa glMultiTexCoordPointerEXT function | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 5 | -2/+39 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glMultiTexGen* functions | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 5 | -145/+334 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glCopyMultiTexImage* and glCopyMultiTexSubImage* | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 6 | -5/+371 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glGetMultiTexParameteriv/fvEXT | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 5 | -3/+65 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glMultiTexSubImage1D/2D/3DEXT | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 6 | -3/+273 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glMultiTexImage1D/2D/3DEXT + glGetMultiTexImageEXT | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 8 | -5/+351 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add glBindMultiTextureEXT display list support | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 1 | -0/+23 |
| | | | | | | Fixes: 0972b0b059d ("mesa: add support for glBindMultiTextureEXT") Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa glMultiTexParameter* functions | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 6 | -4/+224 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add EXT_dsa (Get)MultiTexEnv functions | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 5 | -1/+223 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add _mesa_(get)texenvi(f)v_indexed helpers | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 1 | -27/+50 |
| | | | | | | | They are exactly like _mesa_GetTexEnvfv/_mesa_GetTexEnviv except they take a GLuint texunit parameter instead of relying of ctx->Texture.CurrentUnit. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add new helper _mesa_get_texobj_by_target_and_texunit | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 3 | -43/+82 |
| | | | | | | | Based on the 'static get_texobj_by_target' function from texparam.c, but extended to also take the texunit as a parameter. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: replace _mesa_get_current_fixedfunc_tex_unit with ↵ | Pierre-Eric Pelloux-Prayer | 2019-08-06 | 4 | -12/+10 |
| | | | | | | | | | | _mesa_get_fixedfunc_tex_unit The new function implements the same feature but doesn't depend on ctx->Texture.CurrentUnit. This change allows to use it from indexed functions. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | iris: Handle vertex shader with window space position | Danylo Piliaiev | 2019-08-06 | 3 | -5/+44 |
| | | | | | | | | | | Iris advertises support for PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION so let's actually implement it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110657 Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | lima: fix pipe_debug_callback warnings | Erico Nunes | 2019-08-06 | 3 | -5/+5 |
| | | | | | Signed-off-by: Erico Nunes <[email protected]> Reviewed-by: Vasily Khoruzhick <[email protected]> | ||||
* | lima/ppir: move sin/cos input scaling into NIR | Vasily Khoruzhick | 2019-08-06 | 5 | -58/+69 |
| | | | | | Reviewed-by: Erico Nunes <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]> | ||||
* | nir/spirv: Fix gl_BaseVertex for non-indexed draws for OpenGL | Antia Puentes | 2019-08-06 | 1 | -2/+5 |
| | | | | | | | | | Lowers BaseVertex to the correct system value for OpenGL. v2: use options->environment rather than adding a new flag to spirv_to_nir_options Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> | ||||
* | iris: Increase BATCH_SZ to 64kB | Kenneth Graunke | 2019-08-06 | 1 | -1/+1 |
| | | | | | This seems to improve performance by roughly ~1% across the board. Thanks to Rafael Antognolli and Dan Walsh for their help tuning. | ||||
* | ac/nir: Use correct cast for readfirstlane and ptrs. | Bas Nieuwenhuizen | 2019-08-06 | 1 | -0/+2 |
| | | | | | | Fixes: 028ce527 "radv: Add non-uniform indexing lowering." Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | radv: Do non-uniform lowering before bool lowering. | Bas Nieuwenhuizen | 2019-08-06 | 1 | -1/+1 |
| | | | | | | | | Since it can introduce comparisons. Fixes: 028ce527395 "radv: Add non-uniform indexing lowering." Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> | ||||
* | etnaviv: support 3D and 2D array textures | Jonathan Marek | 2019-08-06 | 4 | -23/+74 |
| | | | | | Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> | ||||
* | etnaviv: fix 3d texture upload | Jonathan Marek | 2019-08-06 | 6 | -30/+28 |
| | | | | | | | | | | | Fix uploading of 3D textures and 2D array textures: * Remove asserts in BLT and RS checking z * Use box->z/box->depth in etna_copy_resource_box and CPU tile/untile * Track mip level depth and use it in etna_copy_resource Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> | ||||
* | etnaviv: add alternative NIR compiler | Jonathan Marek | 2019-08-06 | 12 | -37/+2388 |
| | | | | | | | enable with ETNA_MESA_DEBUG=nir Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> |