You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"format must be a pointer(constant, global, local, private, generic) to i8."
In particular calls like: %4 = call spir_func i32 @_Z18__spirv_ocl_printfPU3AS1c(ptr addrspace(1) %3) #0
are accepted, but addrspace(1) maps to: ATTR_VOLATILE.
The text was updated successfully, but these errors were encountered:
LU-JOHN
changed the title
SPV_EXT_relaxed_printf_string_address_space allows format from any address space
SPV_EXT_relaxed_printf_string_address_space allows format from too many address spaces
May 28, 2024
Using --spirv-ext=+SPV_EXT_relaxed_printf_string_address_space allows printf format strings from any address space, but
https://github.com/pjaaskel/SPIRV-Registry/blob/2f4cb5fd64b189f8ab0ddeb770a2b67aade41613/extensions/EXT/SPV_EXT_relaxed_printf_string_address_space.asciidoc
states:
In particular calls like:
%4 = call spir_func i32 @_Z18__spirv_ocl_printfPU3AS1c(ptr addrspace(1) %3) #0
are accepted, but addrspace(1) maps to: ATTR_VOLATILE.
The text was updated successfully, but these errors were encountered: