| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This causes python problems and problems when people don't have a locale
set properly in their shell.
|
|
|
|
| |
We don't use width outside the debug clause here.
|
| |
|
| |
|
|
|
|
|
|
| |
We need to be able to find the generated gen*pack.h headers.
Acked-by: Jason Ekstrand <[email protected]>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Doing so makes older versions of GCC rather grumpy. Newere GCC fixes this,
but using a compound literal isn't really gaining us anything anyway.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We were always initializing only RT 0. We need to initialize the RT
we're creating the clear pipeline for.
|
| |
|
|
|
|
|
| |
Somehow, in one of the merges with mesa master, the old file must have been
kept when nir_lower_samplers.cpp was moved to nir_lower_samplers.c.
|
|
|
|
|
| |
Almost none of the data in anv_pipeline_layout is used anymore thanks to
doing real layout in the pipeline itself.
|
|
|
|
|
|
|
|
|
| |
This gives us the chance to pack the binding table down to just what the
shaders actually need. Some applications use very large descriptor sets
and only ever use a handful of entries. Compacted binding tables should be
much more efficient in this case. It comes at the down-side of having to
re-emit binding tables every time we switch pipelines, but that's
considered an acceptable cost.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We ignore unused dimensions in the isl surface; do the same for the
resulting anv_image.
Reviewed-by: Kristian Høgsberg Kristensen <[email protected]>
|
|
|
|
|
|
|
| |
"Result is the same as computing the sum of the absolute values of
OpDPdx and OpDPdy on P."
We were doing sum of absolute values of OpDPdx of P and OpDPdx of NULL.
|
|
|
|
|
| |
The vkCmdPipelineBarrier() command should work as intended now and we
need to pull the plug on this old hack.
|
|
|
|
|
|
|
|
|
|
|
|
| |
We don't need to look at the stage flags, as we don't really support any
fine-grained, stage-level synchronization. We have to do two
PIPE_CONTROLs in case we're both flushing and
invalidating.
Additionally, if we do end up doing two PIPE_CONTROLs, the first,
flusing one also has to stall and wait for the flushing to finish, so we
don't re-dirty the caches with in-flight rendering after the second
PIPE_CONTROL invalidates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We would assert on unused dimensions (eg extent.depth for
VK_IMAGE_TYPE_2D) not being 1, but the specification doesn't put any
constraints on those. For example, for VK_IMAGE_TYPE_1D:
"If imageType is VK_IMAGE_TYPE_1D, the value of extent.width must be
less than or equal to the value of
VkPhysicalDeviceLimits::maxImageDimension1D, or the value of
VkImageFormatProperties::maxExtent.width (as returned by
vkGetPhysicalDeviceImageFormatProperties with values of format,
type, tiling, usage and flags equal to those in this structure) -
whichever is higher"
We'll fix up the arguments to isl to keep isl strict in what it expects.
|
|
|
|
|
|
| |
We need to make sure GEM understands that we're writing to the BO, in
case it needs to synchronize with other rings (blitter use in display
server, for example).
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c136672c593399e831db0da8b8cc6d8a5d73c1d3.
We still have the intermittent missing flush for VkEvent in certain
vulkancts cases:
piglit.deqp-vk.api.command_buffers.execute_large_primary
piglit.deqp-vk.api.command_buffers.submit_count_non_zero,
Let's reenable the snooping until we figure out the root cause.
|
|
|
|
|
|
|
| |
Change the name of the .so to libvulkan_intel.so and add an installable
icd with the installed paths. Keep the icd file with build-tree paths,
but rename to dev_icd.json to make it clear that it's for development
purposes.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix a NULL pointer dereference in anv_CreateInstance in case
the pApplicationInfo field of the supplied VkInstanceCreateInfo
structure is NULL [1].
[1] https://www.khronos.org/registry/vulkan/specs/1.0/apispec.html#VkInstanceCreateInfo
Signed-off-by: Philipp Zabel <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Probably this should be picked up from <vulkan.h> directly, or we should
just assume that any 1.0.x is legal.
|
|
|
|
|
| |
We disable the fragment shader for depth/stencil-only pipelines. This
commit makes that work for gen7.
|
|
|
|
|
| |
This lets us share the renderpass code and depth/stencil state code
between gen 7 and gen 8.
|
|
|
|
| |
We need the 3D pipeline for the initial setup, not GPGPU.
|
|
|
|
|
| |
We need to pull this from the render pass information at state flush
time.
|
| |
|
| |
|
|
|
|
|
|
| |
This is a little more subtle. If elem_count is 0, nothing else happens
in this function, so we return early to avoid warning about
uninitialized 'p'.
|
| |
|
|
|
|
|
| |
It's required by the spec and any shaders that don't set it will be broken.
I'm not really sure how multisampling was even working before...
|