aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_android.c
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2020-07-02 11:53:33 -0400
committerMarge Bot <[email protected]>2020-07-04 03:33:43 +0000
commit19f3c79c7ed4e68d37771489f52bd94a2d032fa6 (patch)
tree6beb7e002c5429b698c7e9e9cc6ec78728f6533c /src/freedreno/vulkan/tu_android.c
parent395511d16915297b39d11f6d7ede0e0274d390c9 (diff)
turnip: fix tess param bo size calculation
ir3 already calculates the stride in the tess param bo, so use that instead of a incorrect calculation. The calculation of per_vertex_output_size / per_patch_output_size is wrong because it counts dwords instead of bytes, and what it counts for per_vertex_output_size is a per-patch size because the glsl type is already an array of # vertex/patch elements. Signed-off-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5743>
Diffstat (limited to 'src/freedreno/vulkan/tu_android.c')
0 files changed, 0 insertions, 0 deletions