Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swr/rast: split gen_knobs templates into .h/.cpp | Tim Rowley | 2017-08-02 | 5 | -118/+166 |
| | | | | | | | Switch to a 1:1 mapping template:generated for future maintenance. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: gen_knobs template code style | Tim Rowley | 2017-08-02 | 1 | -2/+2 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: switch gen_knobs.cpp license | Tim Rowley | 2017-08-02 | 1 | -12/+17 |
| | | | | | | | Unintentionally added with an apache2 license; relicense to match the rest of the tree. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: fix scons gen_knobs.h dependency | Tim Rowley | 2017-08-02 | 1 | -1/+1 |
| | | | | | | | | Copy/paste error was duplicating a gen_knobs.cpp rule. Fixes: 5079c277b57 ("swr: [scons] Fix windows build") Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: constify swr rasterizer | Tim Rowley | 2017-08-02 | 18 | -323/+339 |
| | | | | | | Add "const" as appropriate in method/function signatures. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: SIMD16 shaders - widen fetch and vertex shaders | Tim Rowley | 2017-08-02 | 6 | -5/+238 |
| | | | | | | Work in progress, disabled by default. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: vmask() implementations for KNL | Tim Rowley | 2017-08-02 | 1 | -0/+14 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: rename frontend pVertexStore | Tim Rowley | 2017-08-02 | 1 | -6/+9 |
| | | | | | | Rename to reflect global nature. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: fix movemask_ps / movemask_pd on AVX512 | Tim Rowley | 2017-08-02 | 1 | -2/+7 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: stop using MSFT types in platform independent code | Tim Rowley | 2017-08-02 | 14 | -31/+35 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: enable USE_SIMD16_FRONTEND by default | Tim Rowley | 2017-08-02 | 1 | -1/+1 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: disable AVX512 optimization of SSE / AVX code | Tim Rowley | 2017-08-02 | 1 | -0/+4 |
| | | | | | | | | | | Disable an optimization which implemented sse/avx operations on avx512 using avx512 intrinsics (to avoid switching between lane widths). Compile with SIMD_OPT_128_AVX512 / SIMD_OPT_256_AVX512 defined to enable these optimizations. Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: fix USE_SIMD16_FRONTEND issues | Tim Rowley | 2017-08-02 | 14 | -74/+49 |
| | | | | | | | Fix problems found when enabling USE_SIMD16_FRONTEND, mostly related to vMask / movemask_ps(pd). Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: simdlib better separation of core vs knights avx512 | Tim Rowley | 2017-08-02 | 15 | -245/+911 |
| | | | | Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | swr/rast: threadID via portable std::this_thread::get_id() | Tim Rowley | 2017-08-02 | 1 | -9/+11 |
| | | | | | | | Replace use of Win32 GetCurrentThreadId() with portable std::this_thread::get_id(). Reviewed-by: Bruce Cherniak <[email protected]> | ||||
* | spirv: Fix SpvImageFormatR16ui | Jason Ekstrand | 2017-08-02 | 1 | -1/+1 |
| | | | | | Reviewed-by: Lionel Landwerlin <[email protected]> Cc: "17.1 17.2" <[email protected]> | ||||
* | anv: Advertise VK_KHR_relaxed_block_layout | Jason Ekstrand | 2017-08-02 | 1 | -0/+1 |
| | | | | | | | There is literally no work for us to do here. It already just works in our driver. Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | anv: Bump the advertised version to 1.0.57 | Jason Ekstrand | 2017-08-02 | 1 | -1/+1 |
| | | | | Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | anv: Pull the API version from anv_extensions.py | Jason Ekstrand | 2017-08-02 | 3 | -1/+13 |
| | | | | | | | This way everything stays in sync and we only have the one version number. Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | anv: Use python to generate ICD json files | Jason Ekstrand | 2017-08-02 | 4 | -23/+54 |
| | | | | | | | | This is more lines of code but the python is far easier to read than the sed expressions we were using before. Also, this allows us to pull the API version from anv_entrypoints.py so it never gets out-of-sync. Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | anv: Add MAX_API_VERSION to anv_extensions.py | Jason Ekstrand | 2017-08-02 | 2 | -3/+44 |
| | | | | | | | | The VkVersion class is probably overkill but it makes it really easy to compare versions in a way that's safe without the caller having to think about patch vs. no patch. Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | anv: Make some bits of anv_extensions module-private | Jason Ekstrand | 2017-08-02 | 2 | -6/+6 |
| | | | | | | | This way we can use "from anv_extensions import *" in the entrypoint generator without worrying too much about pollution Reviewed-by: Lionel Landwerlin <[email protected]> | ||||
* | git_sha1_gen: catch any error the same way | Eric Engestrom | 2017-08-02 | 1 | -5/+2 |
| | | | | | Acked-by: Jose Fonseca <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> | ||||
* | build: Don't bail on OSError in git_sha1_gen.py | Tobias Klausmann | 2017-08-02 | 1 | -0/+3 |
| | | | | | | | | | | When building sandboxed, we may encounter additional errors. Ignore the errors, as we are in a constrained environment. This can be observed when building latest git with OBS. Signed-off-by: Tobias Klausmann <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> | ||||
* | st/mesa: replace st_shader_stage_to_ptarget | Nicolai Hähnle | 2017-08-02 | 5 | -31/+8 |
| | | | | | | | Use pipe_shader_type_from_mesa instead. Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add GLSL 4.60 to shading_language_version() | Samuel Pitoiset | 2017-08-02 | 1 | -0/+2 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | mesa: add always-false enable for GL 4.6 | Samuel Pitoiset | 2017-08-02 | 1 | -2/+18 |
| | | | | | | | I believe this should be enough for now. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | glsl: recognize GLSL 4.60 | Samuel Pitoiset | 2017-08-02 | 3 | -3/+5 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | dri3: Wait for all pending swapbuffers to be scheduled before touching the front | Thomas Hellstrom | 2017-08-02 | 2 | -0/+21 |
| | | | | | | | | | | | | This implements a wait for glXWaitGL, glXCopySubBuffer, dri flush_front and creation of fake front until all pending SwapBuffers have been committed to hardware. Among other things this fixes piglit glx-copy-sub-buffers on dri3. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Cc: <[email protected]> | ||||
* | mesa: add KHR_no_error support to glPolygonMode() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+12 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add polygon_mode() helper | Samuel Pitoiset | 2017-08-02 | 1 | -19/+28 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glClearBufferiv() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+12 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add clear_bufferiv() helper | Samuel Pitoiset | 2017-08-02 | 1 | -14/+23 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glClearBufferuiv() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+14 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add clear_bufferuiv() helper | Samuel Pitoiset | 2017-08-02 | 1 | -13/+22 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glClearBufferfi() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+14 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add clear_bufferi() helper | Samuel Pitoiset | 2017-08-02 | 1 | -20/+30 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glClearBufferfv() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+14 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add clear_bufferfv() helper | Samuel Pitoiset | 2017-08-02 | 1 | -14/+23 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glClear*Buffer*Data() | Samuel Pitoiset | 2017-08-02 | 4 | -4/+98 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add clear_buffer_sub_data_error() helper | Samuel Pitoiset | 2017-08-02 | 1 | -17/+35 |
| | | | | | | | And make clear_buffer_sub_data() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: make get_texbuffer_format() global | Samuel Pitoiset | 2017-08-02 | 2 | -3/+5 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glLinkProgram() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+22 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add link_program() and link_program_error() helpers | Samuel Pitoiset | 2017-08-02 | 1 | -13/+33 |
| | | | | | | | And call link_program_error() from _mesa_link_program(). Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glShaderSource() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+14 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add shader_source() helper | Samuel Pitoiset | 2017-08-02 | 1 | -11/+23 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: rename shader_source() to set_shader_source() | Samuel Pitoiset | 2017-08-02 | 1 | -2/+2 |
| | | | | | | | | There is already get_shader_source(), and shader_source() will be used for adding KHR_no_error support. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glEndConditionalRender() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+12 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add end_conditional_render() render | Samuel Pitoiset | 2017-08-02 | 1 | -7/+14 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glBeginConditionalRender() | Samuel Pitoiset | 2017-08-02 | 3 | -1/+12 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> |