Skip to content
Snippets Groups Projects
Commit b4e5bf06 authored by Pierre Moreau's avatar Pierre Moreau Committed by Marge Bot
Browse files

clover/nir: Set constant buffer pointer size to host


The `argument::size` is supposed to represent the size of a pointer on
the host and not on the device (for which argument::target_size`
exists).

v3: Use `sizeof(buf)` instead of `marg.size`. (Francisco Jerez)

Fixes: 7c6f1d3b ("clover/nir: extract constant buffer into its own section")

Reviewed-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: default avatarPierre Moreau <dev@pmoreau.org>
Part-of: <!10256>
parent 54dcccd5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment