summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-19Revert Use absolute path in intel_icd.json and related patches.Emil Velikov4-22/+2
This commit effectively reverts the following commits: This reverts commit 0b6837a643bbbf3c57c5cc5030279fb4389b23b7. This reverts commit 05f36435ef117e48f457b44877d04dd6249b3bb7. This reverts commit a2ae67aa47df6dd41802462105dac7ce5ab676a2. While the feature introduced is convinient for development it is not as useful for distributions. Furthermore it even breaks things as one wishes to have both 32 and 64 bit package installed on the same system. Keep the functionality in development branch(es) and drop it from distribution packages to avoid confusion and misuse. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2016-10-19docs: rename release notes to 13.0.013.0-branchpointEmil Velikov1-4/+4
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2016-10-19radeonsi: remove cb0_is_integer handlingMarek Olšák3-13/+3
st/mesa does this for us. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19st/mesa: disable alpha-test, alpha-to-coverage, alpha-to-one for integer FBsMarek Olšák2-2/+4
v2: rebased Reviewed-by: Brian Paul <brianp@vmware.com>
2016-10-19mesa: remove gl_shader_compiler_options::EmitNoNoiseMarek Olšák5-7/+1
it's always true Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: remove code for fixing up TGSI labelsMarek Olšák1-90/+2
I don't know what this was supposed to do, but all TGSI labels were always 0. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: remove subroutine supportMarek Olšák2-205/+5
Never used. The GLSL compiler doesn't even look at EmitNoFunctions. v2: add back "return" support in "main" Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19mesa_to_tgsi: remove remnants of flow control and subroutine supportMarek Olšák1-92/+1
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19mesa_to_tgsi: drop support for instructions that can't occur hereMarek Olšák1-72/+0
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: allocate glsl_to_tgsi_instruction::tex_offsets on demandMarek Olšák1-1/+4
sizeof(glsl_to_tgsi_instruction): 384 -> 264 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: merge buffer and sampler fields in glsl_to_tgsi_instructionMarek Olšák1-32/+31
sizeof(glsl_to_tgsi_instruction): 416 -> 384 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: reduce the size of glsl_to_tgsi_instruction using bitfieldsMarek Olšák1-17/+19
sizeof(glsl_to_tgsi_instruction): 464 -> 416 Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: reduce the size of st_dst_reg and st_src_regMarek Olšák1-31/+40
I noticed that glsl_to_tgsi_instruction is too huge. sizeof(glsl_to_tgsi_instruction): 752 -> 464 (-38%) Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: remove unused st_translate::tex_offsetsMarek Olšák1-1/+0
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: remove unused parameters from calc_deref_offsetsMarek Olšák1-9/+5
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19glsl_to_tgsi: use array_id for temp arrays instead of hacking high bitsMarek Olšák1-13/+19
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-10-19reviewers: Throw myself on the GLX grenadeAdam Jackson1-0/+4
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2016-10-19egl: bring back the default glapi.so nameEric Engestrom1-3/+1
Earlier commit replaced the default platform specific libglapi.so name with an #error. This may have been overzealous since the name is the correct for the BSD platforms, at least. Reinstate the hunk - bringing back OpenBSD, et al. to a successful build state. Fixes: 7a9c92d071d ("egl/dri2: non-shared glapi cleanups") [Emil Velikov: format the patch from Eric, add commit message and tag.] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-10-19i965: fix subnr overflow in suboffset()Iago Toral Quiroga1-8/+5
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2016-10-19radv: decompress fmask before reading using texture unitDave Airlie3-6/+5
Before we can read the fmask using the compute shader, we need to decompress the fmask in place. This fixes a bunch of remaining failure and hopefully multisampling in Talos.
2016-10-19radv: fix samples_identical return value.Dave Airlie1-0/+3
This was returning an inversion, so not doing as it should have. We need to compare the fmask value with 0, and return the result from that.
2016-10-19radv: fix wsi porting regression in swapchain destroy.Dave Airlie1-3/+10
The code in anv is right, there's a pending patch to fix this up different, but I'll sync the code for now.
2016-10-19radv: fix fmask ptr issueDave Airlie1-4/+18
We were using the wrong descriptor in the fmask picking code.
2016-10-19radv: simplify fast clear shadersDave Airlie1-46/+2
There is no need for anything but a noop shader here.
2016-10-19vulkan/wsi: fix out of tree build.Dave Airlie1-1/+1
2016-10-19radv: start using defines for the user sgpr offsetsDave Airlie3-14/+34
This adds some comments and adds defines for the user sgprs, so that we can move them around easier later and not have to change/revalidate every one of these. Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-10-19radv: port to common wsi codebaseDave Airlie7-1860/+216
This drops all the radv WSI code in favour of using the new shared code that was ported from anv This regresses Talos for now, Jason has pointed out the bug is in Talos and we should wait for them to fix it. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv: move to using shared wsi codeDave Airlie11-10/+78
This moves the shared code to a common subdirectory and makes anv linked to that code instead of the copy it was using. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: remove all anv references from WSI common codeDave Airlie9-99/+98
the WSI code should be now be clean for sharing. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv: move common wsi code to x11/wayland common files.Dave Airlie10-1656/+1851
Next task is to rename all the anv_ out of this, and move to a common location Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/wayland: add callback to get device format properties.Dave Airlie3-7/+27
This avoids having to know the toplevel API name. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/wl: stop using device in more placesDave Airlie3-20/+28
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: split out surface creation to avoid instance APIDave Airlie2-29/+64
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: move further away from passing anv displays aroundDave Airlie4-39/+35
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: split image alloc/free out to separate fns.Dave Airlie4-219/+180
This moves these outside the wsi platform code, so we can reuse that code Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: switch to using VkDevice in swapchainDave Airlie4-14/+14
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/x11: more refactoring to use generic handlesDave Airlie1-27/+43
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/x11: start refactoring out the image allocation/free functionalityDave Airlie1-22/+52
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: drop device from get formatDave Airlie4-5/+5
Just use the wsi_device instead. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: remove device from get_support interfaceDave Airlie4-5/+10
replace with wsi_device and allocator. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/x11: abstract WSI interface from internals.Dave Airlie1-9/+24
This allows the API and the internals to be split, and the internals shared. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/x11: push anv_device out of the init/finish routinesDave Airlie3-15/+19
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: abstract wsi interfaces away from device a bit more.Dave Airlie4-24/+28
This is a step towards separating out the wsi code for sharing Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi/x11: push device out of x11 connection fns.Dave Airlie1-11/+12
just pass the allocator/wsi_interface instead. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: drop device from get capsDave Airlie4-4/+1
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19anv/wsi: drop get present modes device argDave Airlie4-4/+1
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19radv/anv/wsi: drop unneeded parameterDave Airlie8-8/+2
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2016-10-19draw: improve vertex fetch (v2)Roland Scheidegger3-86/+134
The per-element fetch has quite some calculations which are constant, these can be moved outside both the per-element as well as the main shader loop (llvm can figure out it's constant mostly on its own, however this can have a significant compile time cost). Similarly, it looks easier swapping the fetch loops (outer loop per attrib, inner loop filling up the per vertex elements - this way the aos->soa conversion also can be done per attrib and not just at the end though again this doesn't really make much of a difference in the generated code). (This would also make it possible to vectorize the calculations leading to the fetches.) There's also some minimal change simplifying the overflow math slightly. All in all, the generated code seems to look slightly simpler (depending on the actual vs), but more importantly I've seen a significant reduction in compile times for some vs (albeit with old (3.3) llvm version, and the time reduction is only really for the optimizations run on the IR). v2: adapt to other draw change. No changes with piglit. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2016-10-19draw: improved handling of undefined inputsRoland Scheidegger1-21/+32
Previous attempts to zero initialize all inputs were not really optimal (though no performance impact was measurable). In fact this is not really necessary, since we know the max number of inputs used. Instead, just generate fetch for up to max inputs used by the shader, directly replacing inputs for which there was no vertex element by zero. This also cleans up key generation, which previously would have stored some garbage for these elements. And also drop the assertion which indicates such bogus usage by a debug_printf (the whole point of initializing the undefined inputs was to make this case safe to handle). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2016-10-19gallivm: print out time for jitting functions with GALLIVM_DEBUG=perfRoland Scheidegger1-0/+11
Compilation to actual machine code can easily take as much time as the optimization passes on the IR if not more, so print this out too. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>