summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* vulkan.h: Pull in 1.0.1 headerJason Ekstrand2016-01-141-855/+855
|
* vulkan-1.0.0: Bump the version to 1.0.0Jason Ekstrand2016-01-142-3/+3
|
* vulkan-1.0.0: Rework memory barriersJason Ekstrand2016-01-145-38/+49
|
* vulkan-1.0.0: No-op WSI changesJason Ekstrand2016-01-141-1/+2
|
* vulkan-1.0.0: Make extents unsignedJason Ekstrand2016-01-141-5/+5
|
* vulkan-1.0.0: Rework blits to use four offsetsJason Ekstrand2016-01-143-22/+31
|
* vulkan-1.0.0: Split out command buffer inheritance infoJason Ekstrand2016-01-142-12/+19
|
* vulkan-1.0.0: Re-order some structs in the headerJason Ekstrand2016-01-141-27/+27
|
* vulkan-1.0.0: Misc. field and argument renamesJason Ekstrand2016-01-148-33/+33
|
* vulkan-1.0.0: Get rid of MIPMAP_MODE_BASEJason Ekstrand2016-01-142-6/+4
|
* vulkan-1.0.0: Convert pPreserveAttachments to a uint32_tJason Ekstrand2016-01-143-9/+3
|
* anv/device: Update features and limitsJason Ekstrand2016-01-141-1/+4
|
* anv/cmd_buffer: Fix setting of viewport/scissor countJason Ekstrand2016-01-141-2/+8
|
* anv/state: Respect SamplerCreateInfo.anisotropyEnableJason Ekstrand2016-01-143-30/+28
|
* anv/image: Fill out VkSubresourceLayout.arrayPitchJason Ekstrand2016-01-141-0/+1
|
* WIP: Partially upgrade to vulkan v0.221.0BogDan Vatra2016-01-149-138/+215
| | | | | | | | | | TODO, make use of: - VkPhysicalDeviceFeatures.drawIndirectFirstInstance, - VkPhysicalDeviceFeatures.inheritedQueries - VkPhysicalDeviceLimits.timestampComputeAndGraphics - VkSubmitInfo.pWaitDstStageMask - VkSubresourceLayout.arrayPitch - VkSamplerCreateInfo.anisotropyEnable
* nir/spirv: Add support for ArrayLength opJordan Justen2016-01-131-1/+32
| | | | Signed-off-by: Jordan Justen <[email protected]>
* nir/spirv/alu: Properly implement mod/remJason Ekstrand2016-01-131-3/+3
|
* i965: Implement nir_op_irem and nir_op_sremJason Ekstrand2016-01-132-0/+64
|
* nir: Add more modulus and remainder opcodesJason Ekstrand2016-01-132-1/+16
| | | | | | | | | SPIR-V makes a distinction between "modulus" and "remainder" for both floating-point and signed integer variants. The difference is primarily one of which source they take their sign from. The "remainder" opcode for integers is equivalent to the C/C++ "%" operation while the "modulus" opcode is more mathematically correct (at least for an unsigned divisor). This commit adds corresponding opcodes to NIR.
* nir/spirv: Add support for OpSpecConstantOpJason Ekstrand2016-01-131-0/+132
|
* nir/spirv/alu: Factor out the opcode tableJason Ekstrand2016-01-132-125/+123
|
* anv/pipeline: Pass through specialization constantsJason Ekstrand2016-01-133-18/+51
|
* nir/spirv: Add initial support for specialization constantsJason Ekstrand2016-01-135-3/+59
|
* nir/spirv: Add support for OpQuantizeJason Ekstrand2016-01-122-0/+5
|
* i965: Implement nir_op_fquantize2f16Jason Ekstrand2016-01-122-0/+23
|
* nir: Add a fquantize2f16 opcodeJason Ekstrand2016-01-121-0/+1
| | | | | This opcode simply takes a 32-bit floating-point value and reduces its effective precision to 16 bits.
* anv/device: Bump the max program size againJason Ekstrand2016-01-121-1/+1
| | | | No one will ever need more than 128K, right?
* vk: Implement workaround for occlusion queriesKristian Høgsberg Kristensen2016-01-124-0/+20
| | | | | | | | We have an issue with occlusion queries (PIPE_CONTROL depth writes) after using the pipeline with the VS disabled. We work around it by using a depth cache flush PIPE_CONTROL before doing a depth write. Fixes dEQP-VK.query_pool.*
* anv/UpdateDescriptorSets: Respect write.dstArrayElementJason Ekstrand2016-01-121-1/+3
|
* Merge ../mesa into vulkanKristian Høgsberg Kristensen2016-01-1241-358/+852
|\ | | | | | | | | Merge master again to get the brw_device_info with the correct slice counts for KBL.
| * st/omx: Avoid segfault in deconstructor if constructor failsTom St Denis2016-01-121-0/+3
| | | | | | | | | | | | | | | | | | If the constructor fails before the LIST_INIT calls the pointers will be null and the deconstructor will segfault. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
| * vl: use preferred format for deinterlacingChristian König2016-01-121-1/+7
| | | | | | | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * vl: improve motion adaptive deinterlacerChristian König2016-01-122-22/+49
| | | | | | | | | | | | | | Handle other formats than YV12 as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * st/va: add BOB deinterlacing v2Christian König2016-01-122-11/+79
| | | | | | | | | | | | | | | | | | Tested with MPV. v2: correctly handle compositor deinterlacing as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * st/va: add NV12 -> NV12 post processing v2Christian König2016-01-122-37/+124
| | | | | | | | | | | | | | | | | | | | Usefull for mpv and GStreamer. v2: use common functionality for size adjustment. Signed-off-by: Indrajit-kumar Das <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * st/va: use vl_video_buffer_adjust_sizeChristian König2016-01-121-9/+4
| | | | | | | | | | | | | | Use the new helper function instead of open coding it. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * st/vdpau: use vl_video_buffer_adjust_sizeChristian König2016-01-121-10/+3
| | | | | | | | | | | | | | Use the new helper function instead of open coding it. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * vl/buffers: extract vl_video_buffer_adjust_size helperChristian König2016-01-122-8/+20
| | | | | | | | | | | | | | Useful for the state trackers as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
| * st/va: make the implementation thread safe v2Christian König2016-01-127-54/+199
| | | | | | | | | | | | | | | | | | | | | | Otherwise we might crash with MPV. v2: minor cleanups suggested on the list. Signed-off-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Julien Isorce <[email protected]> Tested-by: Julien Isorce <[email protected]>
| * mesa: use gl_shader_variable in program resource listTapani Pälli2016-01-123-28/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch changes linker to allocate gl_shader_variable instead of using ir_variable. This makes it possible to get rid of ir_variables and ir in memory after linking. v2: check that we do not create duplicate entries with packed varyings v3: document 'patch' bit (Ilia Mirkin) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
| * glsl: track total amount of uniform locations usedTapani Pälli2016-01-121-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Linker missed a check for situation where we exceed max amount of uniform locations with explicit + implicit locations. Patch adds this check to already existing iteration over uniforms in linker. Fixes following CTS test: ES31-CTS.explicit_uniform_location.uniform-loc-negative-link-max-num-of-locations v2: use var->type->uniform_locations() (Timothy) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
| * main: get rid of needless conditionalErik Faye-Lund2016-01-121-13/+12
| | | | | | | | | | | | | | | | We already check if the driver changed the completeness, we don't need to duplicate that check. Let's just early out there instead. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
| * gallium/util: removed unused header-fileErik Faye-Lund2016-01-122-53/+0
| | | | | | | | | | | | | | | | | | This hasn't been in use since c476305 ("gallium/util: pregenerate half float tables"), where the last bit of run-time init using this was killed. So let's just get rid of the pointless header. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
| * nvc0: do not force re-binding of compute constbufs on FermiSamuel Pitoiset2016-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | Re-binding compute constant buffers after launching a grid have no effects because they are not currently validated and because dirty_cp is not updated accordingly. This might also prevent weird future behaviours when UBOs will be bound for compute. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
| * meta: Unconditionally set GL_SKIP_DECODE_EXTIan Romanick2016-01-112-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | The path that depends on this will be avoided (by fallback_required) if the extension is not supported. _mesa_set_sampler_srgb_decode does not generate GL errors (by design), so there are no problems there. I kept this change separate and last because it is one of the few in the series that is not a candidate for the stable branch. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
| * meta: Only bind the sampler in one placeIan Romanick2016-01-112-8/+4
| | | | | | | | | | | | | | | | | | | | | | All of the calls after the first _mesa_bind_sampler call are DSA style calls that don't depend on the current binding. I kept this change separate and last because it is one of the few in the series that is not a candidate for the stable branch. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
| * meta/decompress: Don't pollute the sampler object namespaceIan Romanick2016-01-111-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tl;dr: For many types of GL object, we can *NEVER* use the Gen function. In OpenGL ES (all versions!) and OpenGL compatibility profile, applications don't have to call Gen functions. The GL spec is very clear about how you can mix-and-match generated names and non-generated names: you can use any name you want for a particular object type until you call the Gen function for that object type. Here's the problem scenario: - Application calls a meta function that generates a name. The first Gen will probably return 1. - Application decides to use the same name for an object of the same type without calling Gen. Many demo programs use names 1, 2, 3, etc. without calling Gen. - Application calls the meta function again, and the meta function replaces the data. The application's data is lost, and the app fails. Have fun debugging that. Signed-off-by: Ian Romanick <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92363 Reviewed-by: Jason Ekstrand <[email protected]>
| * meta/decompress: Save and restore the sampler using gl_sampler_object ↵Ian Romanick2016-01-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | instead of GL API object handle Some meta operations can be called recursively. Future changes (the "Don't pollute the ... namespace" changes) will cause objects with invalid names to be used. If a nested meta operation tries to restore an object named 0xDEADBEEF, it will fail. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
| * meta/decompress: Track sampler using gl_sampler_object instead of GL API ↵Ian Romanick2016-01-112-12/+12
| | | | | | | | | | | | | | object handle Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>