Commits (73)
-
Vinson Lee authored
Remove dead code left over from commit dbb2cf38 ("draw: simplify (and correct) aaline fallback (v2)"). Fix defect reported by Coverity Scan. Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: (*aaline->stage.destroy)(&a.... Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Part-of: <!7265>
a575bb13 -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Fixes: b9a136cd ("panfrost: Implement BGRA textures") Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
1b48b9e6 -
Alyssa Rosenzweig authored
Extracts the 8-bit index from a 22-bit pixel format. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
1e18d995 -
Alyssa Rosenzweig authored
These are not the canonical names but they are less ambiguous and will integrate better with the format tables. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
666677d0 -
Alyssa Rosenzweig authored
Map PIPE formats that are fixed-function blendable to their (internal, writeback) tuple. Formats which are renderable but require a blend shadeer will be handled elsewhere to keep this easy to verify. Notice the subset of SFBD and MFBD color writeback formats used to identify fixed-function blendable formats are bit compatible, so it suffices to store only the MFBD variants. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
d9b16ca4 -
Alyssa Rosenzweig authored
v2: Fix tilebuffer size calculation Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
293198ea -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
41f06ac8 -
Alyssa Rosenzweig authored
Finally the yak shaving pays off. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
e1624b67 -
Alyssa Rosenzweig authored
Instead of matching on the PIPE format directly, match on the internal format of the tile buffer and pick the pixel format that corresponds to the internal tile buffer format (which differs from the format written back to memory in the general case). We add a number of missing formats to accomodate this, including the AU/PU variants of each tilebuffer pixel format, where the AU formats use the extra bits to store extra precision for dithering but the PU formats simply pad the extra bits with zeroes. For the moment we use AU everywhere. I'm not sure if there's a cost associated. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
44155fa6 -
Alyssa Rosenzweig authored
We don't want to hang onto the raw mali_format, but we already have the pipe format right here, so just use that instead, avoiding a (false) dependency. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
870283bc -
Alyssa Rosenzweig authored
Z16 supports AFBC too nowadays, so this helper is misleading. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
cae1be95 -
Alyssa Rosenzweig authored
Required for some obscure lowerings. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
f6fb9ef9 -
Alyssa Rosenzweig authored
Available even on Midgard. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
a21d3deb -
Alyssa Rosenzweig authored
Just trying to flesh things out so we can see what's available in one place. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
8ca1478b -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
29bb2812 -
Alyssa Rosenzweig authored
Midgard (v4, v5) and Bifrost v6 have swizzles on every pixel format descriptor, allowing for arbitrary component reordering. With v7, reordering is limited to a fixed set of common swizzles, which simplifies the hardware but to some extent limits the formats available. To handle, we split out the format tables, with the correct table for the current hardware loaded as dev->formats. v2: Switch sRGB flag from T/F to S/L per icecream's suggestion v3: Add back Z16_UNORM formats to fix trace changes. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
c6bdd976 -
Alyssa Rosenzweig authored
Used for data that does not exist. If used for a load, it is a zero-components read (so you can use a 0000 or 0001 swizzle) that does not touch memory. If used as a store, writes are simply discarded. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Part-of: <!7352>
1b5cac45 -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Part-of: <!7352>
d473622f -
Alyssa Rosenzweig authored
Less than 8-bit formats may pack multiple pixels in a byte along a row, possibly padding along the edge. We already had one such format (RGBA4_UNORM), here are the rest. As far as I can tell, 64-bit formats are purely a theoretical curiousity. I don't think any implementation actually supports them, do not use. Might as well complete the list, though. I'm not actually piping any new formats into Gallium with this commit, that can come later if someone has a use case. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Suggested-by:
Icecream95 <ixn@disroot.org> Tested-by:
Christian Hewitt <christianshewitt@gmail.com> Part-of: <!7352>
c5d86198 -
Alyssa Rosenzweig authored
Eventually this function should go away, but for now let's clean up a bit. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Suggested-by:
Icecream95 <ixn@disroot.org> Part-of: <!7352>
f2af23bd -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reported-by:
Icecream95 <ixn@disroot.org> Suggested-by:
Boris Brezillon <boris.brezillon@collabora.com> Part-of: <!7352>
b5bc0935 -
Alyssa Rosenzweig authored
Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!7352>
3a67806e -
Alyssa Rosenzweig authored
Not sure if these come up with OpenGL in practice. Signed-off-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!7352>
d5dd779c -
Timothy Arceri authored
No Mans Sky dropped its OpenGL backend on April 16, 2019 in favour of its Vulkan backend. So here we drop the old OpenGL workarounds. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!7362>
ea83fd91 -
Samuel Pitoiset authored
When per-sample shading isn't enabled, we can just load the samplemask from the hardware which is always the coverage of the entire pixel/fragment. fossilds-db (VEGA10): Totals from 131 (0.10% of 136546) affected shaders: SGPRs: 5056 -> 5048 (-0.16%) VGPRs: 2600 -> 2372 (-8.77%) CodeSize: 115788 -> 112560 (-2.79%) MaxWaves: 1266 -> 1274 (+0.63%) Instrs: 20620 -> 20071 (-2.66%) Cycles: 82416 -> 80220 (-2.66%) VMEM: 51567 -> 35532 (-31.10%); split: +0.24%, -31.34% SMEM: 8952 -> 8258 (-7.75%); split: +0.11%, -7.86% SClause: 1223 -> 1199 (-1.96%); split: -2.62%, +0.65% Copies: 1247 -> 1124 (-9.86%); split: -10.18%, +0.32% PreVGPRs: 2112 -> 1981 (-6.20%) Helps Britannia, Shadow of the Tomb Raider, Warhammer II and Control. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Timur Kristóf <timur.kristof@gmail.com> Part-of: <mesa/mesa!7377>
c63bcda2 -
Samuel Pitoiset authored
I don't know why these values were introduced for but it seems like we can optimize this by just doing: gl_SampleMaskIn[0] = (SampleCoverage & (1 << gl_SampleID)) AMDGPU-PRO and AMDVLK apply the same formula to compute the sample mask when per-sample shading is enabled. No fossils-db changes. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Timur Kristóf <timur.kristof@gmail.com> Part-of: <mesa/mesa!7377>
03f260cb -
Iago Toral authored
Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7364>
0a9b8077 -
Iago Toral authored
For 3D images we should take the slice to copy from or to, from the Z coordinate of the corresponding offset, not the base array layer. Fixes VK_KHR_maintenance1 tests: dEQP-VK.api.copy_and_blit.core.image_to_image.3d_images.3d_to_2d_by_slices dEQP-VK.api.copy_and_blit.core.image_to_image.3d_images.2d_to_3d_by_layers Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7364>
e4988e6a -
Iago Toral authored
Fixes crashes in: dEQP-VK.api.copy_and_blit.core.image_to_image.3d_images.* Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7364>
0dedee76 -
Iago Toral authored
Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7364>
53c6dc50 -
Iago Toral authored
Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7364>
b54c054a -
Pierre-Eric Pelloux-Prayer authored
Will be used to implement EGL_EXT_protected_surface. Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
7748e501 -
Pierre-Eric Pelloux-Prayer authored
Resources using this flag will be encrypted (eg using TMZ on radeonsi). Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
a6535045 -
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
9698a222 -
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!5096>
bd182777 -
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
52268a38 -
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!5096>
2aff88a9 -
Pierre-Eric Pelloux-Prayer authored
Extends createImageFromDmaBufs2 with a protected_content flag. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
d9582ff3 -
Pierre-Eric Pelloux-Prayer authored
And refuse to import image with protected_content enabled. We don't want a compositor to import an encrypted buffer in a image without the ProtectedContent attribute enabled, because that will lead to incorrect display. Similarly, if the compositor thinks the image is encrypted, we fail the import if the buffer is not. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
9b0ffa9e -
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
18b7cafc -
Pierre-Eric Pelloux-Prayer authored
RADEON_FLUSH_TOGGLE_SECURE_SUBMISSION and RADEON_FLUSH_NOOP used the same value. Fixes: ed3c5fe4 ("radeonsi: implement GL_INTEL_blackhole_render") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!5096>
520f3e27 -
Iago Toral authored
V3D doesn't provide any means to acquire timestamps from the GPU so we have to implement these in the CPU. v2: enable timestampComputeAndGraphics and set timestampPeriod (Piñeiro) Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7373>
12f87b6e -
Iago Toral authored
If a secondary command buffer has occlusion query inheritance then draw calls recorded in it should update an active occlusion query counter started in the primary command buffer. If executing the secondary in a primary required to emit jobs and not just a branch instruction, then we might need to create a new job for the primary as well, and in that case we would lose the occlusion query state, so we need to re-emit it at that point so any additional draw calls recorded into the secondary that is being executed continue to update the counter. Fixes: dEQP-VK.query_pool.concurrent_queries.secondary_command_buffer Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <mesa/mesa!7373>
7d6609e7 -
He Haocheng authored
Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!6763>
95b9fc41 -
Danylo Piliaiev authored
After we lowered `return` into `break` - the control flow is changed and the block with this change has a new successor, which means that in this new successor phis should have additional source. Since the instructions that use phis in the successor are predicated - it's ok for a new phi source to be undef. If `return` is lowered in a nested loop, `break` is inserted in the outer loops, so all new blocks with break require the same changes to phis described above. Examples of NIR before lowering: block block_0: loop { block block_1: if ssa_2 { block block_2: return // succs: block_6 } else { block block_2: break; // succs: block_5 } block block_4: } block block_5: // preds: block_3 vec1 32 ssa_4 = phi block_3: ssa_1 // succs: block_6 block block_6: Here converting return to break should add block_2 to the phis of block_5. block block_0: loop { block block_1: loop { block block_2: if ssa_2 { block block_3: return // succs: block_8 } else { block block_4: break; // succs: block_6 } block block_5: } block block_6: break; // succs: block_7 } block block_7: // preds: block_6 vec1 32 ssa_4 = phi block_6: ssa_1 // succs: block_8 block block_8: Here converting return to break will insert conditional break in the outer loop, changing block_6 predcessors. Cc: <mesa-stable@lists.freedesktop.org> Closes: mesa/mesa#3322 Closes: mesa/mesa#3498 Signed-off-by:
Danylo Piliaiev <danylo.piliaiev@globallogic.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Part-of: <mesa/mesa!6186>
8077f3f4 -
Rhys Perry authored
Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!6258>
8c4d15d5 -
Rhys Perry authored
Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!6258>
aaa94d92 -
James Park authored
Incorporate location_frac into qsort comparison. qsort is not required to be stable, and MSVC implementation is not. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!7399>
ce5e2e21 -
Yevhenii Kolesnikov authored
Fixes: b6d47535 ("nir/large_constants: De-duplicate constants") Closes: mesa/mesa#3706 Signed-off-by:
Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!7350>
ea81889e -
Connor Abbott authored
This will collect all the various alignments, sizes, and magic values and set them appropriately, replacing the various pieces scattered throughout the drivers. Part-of: <mesa/mesa!7385>
4a0bdf47 -
Connor Abbott authored
Part-of: <mesa/mesa!7385>
a1d2b215 -
Connor Abbott authored
Part-of: <mesa/mesa!7385>
aa2f6bd4 -
Michel Dänzer authored
brw_bufmgr_create can return NULL, in which case we'd crash in list_addtail. Reported by Coverity/clang. Fixes: 4094558e ("i965: share buffer managers across screens") Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!7335>
eb61f895 -
Michel Dänzer authored
iris_bufmgr_create can return NULL, in which case we'd crash in list_addtail. Reported by Coverity/clang (for i965, but iris code looks the same). Fixes: 7557f160 ("iris: share buffer managers accross screens") Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!7335>
1eda8423 -
Vinson Lee authored
Fix defect reported by Coverity Scan. Argument cannot be negative (NEGATIVE_RETURNS) negative_returns: f is passed to a parameter that cannot be negative. CID: 1364709 Fixes: 13fa0513 ("auxiliary/os: add new os_get_command_line() function") Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!7344>
b2a21feb -
Jonathan Marek authored
Signed-off-by:
Jonathan Marek <jonathan@marek.ca> Part-of: <mesa/mesa!7406>
990343b7 -
Marcin Ślusarz authored
anv_bo_pool_alloc expects that the memory returned by and_gem_mmap was annotated using VALGRIND_MALLOCLIKE_BLOCK, but anv_gem_mmap_offset didn't do that. Move annotation from anv_gem_mmap_legacy to common code. Fixes: 4abf0837 ("anv: Add support for new MMAP_OFFSET ioctl.") Signed-off-by:
Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!7381>
b5e2c58a -
Marcin Ślusarz authored
Signed-off-by:
Marcin Ślusarz <marcin.slusarz@intel.com> Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!7353>
e3f6a9ea -
Marcin Ślusarz authored
Signed-off-by:
Marcin Ślusarz <marcin.slusarz@intel.com> Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!7353>
efadeb32 -
He Haocheng authored
Fixes: 95b9fc41 ("zink: implement pipe_device_reset_callback") Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!7404>
0e3f2e63 -
Dave Airlie authored
For lavapipe interface to llvmpipe there is a need to retrieve per-level info, so this seems like the best interface to use for it. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!6639>
e9724722 -
Dave Airlie authored
This will be used by llvmpipe and lavapipe Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!6639>
ae17e1fd -
Dave Airlie authored
This implements this resource get param callback and uses it to return image information for lavapipe. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!6639>
2dcc9c7f -
Dave Airlie authored
This uses the resource get param to get proper values for image subresource layouts. Fixes: dEQP-VK.image.subresource_layout* Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!6639>
b6a0309f -
Mike Blumenkrantz authored
no functional changes, just a small simplification Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
a8785579 -
Mike Blumenkrantz authored
in normal operation we want to be using INPUT_ASSEMBLY_PRIMITIVES_BIT, but then when we break out the geometry shaders we actually want to be using GEOMETRY_SHADER_PRIMITIVES_BIT, which means we need to track whether a query has a gs active for draws to do this, we keep a list of all these queries with this type and iterate over it every draw to flag the gs state of the query that's being drawn to. this works because our ring buffer of batches will always wait on a fence after a full cycle, meaning there can only ever be 4 queries with outstanding results Fixes: e40a77ea ("zink: use right vulkan type for GL_PRIMITIVES_GENERATED queries") Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
0b2475f5 -
Mike Blumenkrantz authored
this query behaves differently when xfb is activated, specifically with regard to vertex streams. it's super clunky, but we need to actually run both queries and use results based on whether xfb was active during the query Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
b073398b -
Mike Blumenkrantz authored
this is useful for knowing immediately whether a query has results available for time queries, this ends up being end_query() since that's when the timestamp is written Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
28ad3c17 -
Mike Blumenkrantz authored
need to index by query id here to ensure correct usage Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
7fc806bb -
Mike Blumenkrantz authored
this adds a query field to denote the last point at which a query was api started, which is then used every time we call in to get_query_result as the starting point this is important when we want to be able to return the same result set multiple times Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
e1e3484a -
Mike Blumenkrantz authored
we're going to be seeing some overlap here Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
60db5af0 -
Mike Blumenkrantz authored
this ensures we pull in any flushes that are about to happen if we're ending the query during a batch flush, which helps us roll over our pending results Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!7195>
e8a332b9 -
Jason Ekstrand authored
Reviewed-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!7409>
78a420ce