- 05 Jan, 2018 22 commits
-
-
Alejandro Piñeiro authored
Using 4, as it is the default value on mesa. See mesa/main/config.h and the following commit that introduced the value: 15ac66e3 Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Alejandro Piñeiro authored
ARB_transform_feedback3 sets a minimum of 1, ARB_gpu_shader5 a minimum of 4. It shouldn't matter too much, so choosing the later. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Alejandro Piñeiro authored
Used to handle how many ubo you can define on the context. Minimimum defined as 36 on ARB_uniform_buffer_object spec, up to 84 on OpenGL 4.6 (12 per stage at each moment). Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Alejandro Piñeiro authored
Every now and then I execute the standalone compiler, get the non-version error, and need to remember what I'm doing wrong Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Timothy Arceri authored
Simplifies the logic a little and asserts index is 0. Suggested-by:
Nicolai Hähnle <nhaehnle@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
This allows us to pass the llvm param directly rather than looking it up. Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
We will call these from the radeonsi NIR backend. Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
V2: drop type param and just use ctx->i32 Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
This will be used by both the tgsi and nir backends. Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
This also enables some code sharing with tes. V2: drop type param and just use ctx->i32 Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
V2: drop type param and just use ctx->i32 Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Timothy Arceri authored
V2: drop type param and just use ctx->i32 Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 04 Jan, 2018 11 commits
-
-
Tim Rowley authored
Should be 0x80000000 instead of 0x8000000. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com>
-
Bas Nieuwenhuizen authored
Copied from radeonsi. Putting in the correct metadata flush commands for eventually not flushing L2 on CB/DB switch. Does not remove the need for V_028A90_CACHE_FLUSH_AND_INV_TS_EVENT at the moment. Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Bas Nieuwenhuizen authored
These are just shaders reads, so we need to invalidate L1. Fixes: 6dbb0eac "radv: handle subpass cache flushes" Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Samuel Pitoiset authored
This can still be improved, but let's start with this. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
It makes more sense to move all scan stuff in the same place. Also, we don't really need to duplicate the uses_primid field for each stages. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Rob Herring authored
Commit 2f421651 ("egl: let each platform decided how to handle LIBGL_ALWAYS_SOFTWARE") broke the build due to copy-n-paste of misnamed function parameter.: src/egl/drivers/dri2/platform_android.c:1183:8: error: use of undeclared identifier 'disp' Rather than just fixing 'disp', rename the function parameter 'dpy' to 'disp' to align with the other EGL platforms' implementations. Fixes: 2f421651 ("egl: let each platform decided how to handle LIBGL_ALWAYS_SOFTWARE") Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Acked-by:
Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Alex Smith authored
Fixes hangs seen due to the lock not being released here. Signed-off-by:
Alex Smith <asmith@feralinteractive.com> Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Ilia Mirkin authored
Some later code relies on _Layer to set first/last_layer. Make sure it's always initialized. Detected by valgrind's conditional jump/move with uninit value logic. Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Józef Kucia authored
If alpha-to-coverage is enabled, we have to compute alpha even if color writes are disabled. Signed-off-by:
Józef Kucia <joseph.kucia@gmail.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Bas Nieuwenhuizen authored
sync_files are in linux since 4.7, while the amdgpu fence_to_handle ioctl is only in 4.15. In particular we don't need it for sync_file in radv, because everything happens via syncobjs, which got support earlier than fence_to_handle. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 03 Jan, 2018 7 commits
-
-
Bas Nieuwenhuizen authored
Fixes: f4e499ec "radv: add initial non-conformant radv vulkan driver" Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Bas Nieuwenhuizen authored
When rasterization is disabled we can have that few. Fixes: 76603aa9 "radv: Drop the default viewport when 0 viewports are given." Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Bas Nieuwenhuizen authored
Seems like users are actually hitting 0xFFFFFFFF actually making things broken for them, and the mad max regression is fixed, so lets put this in once more. v2: Use 0xf for depth-only htile. (Dave) Fixes: af284411 "radv: Revert HTILE reset word to 0xFFFFFFFF." Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Marek Olšák authored
Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Emma Anholt authored
I found that we were getting GPU hangs on most tests rendering to them, and the simulator was assertion failing.
-
Emma Anholt authored
We were trying to load/store the logical width/height number of compressed blocks. As long as the textures were large, single-level, and the load/store at (0,0), it kind of worked.
-
Emma Anholt authored
Fixes overflow that caused failure in dEQP-GLES3.functional.texture.filtering.2d.sizes.128x128_linear.
-