GPUOpen-LibrariesAndSDKs / RadeonProRenderSDK

AMD Radeon™ ProRender is a powerful physically-based path traced rendering engine that enables creative professionals to produce stunningly photorealistic images.
https://gpuopen.com/radeon-prorender-suite/
Other
220 stars 46 forks source link

rpr_status -4 Undocumented #64

Closed WannaBeKratos closed 1 year ago

WannaBeKratos commented 1 year ago

(Rust) via bindings. Im getting an rpr_status -4 when calling rprContextRender on Northstar on Tahoe not, but I'm getting a black render. rpr_status -4 is undocumented on rpr_status any advice ? After some testing it seems to be a gpu issue, I'm using Nvidia with the latest drivers. Im also getting a weird render
31_temp

WannaBeKratos commented 1 year ago

After some investigating i found out what -4 is but I'm having trouble translating `const rpr_context_properties g_contextProperties[] = {

// define the precompiled kernels folder.
// for most of the tutorials, the path will be <working directory>../../hipbin/*****.hipbin
// ( check the readme for more information about precompiled kernels )
(rpr_context_properties)RPR_CONTEXT_PRECOMPILED_BINARY_PATH,
(rpr_context_properties)"../../hipbin",

// terminate the list of properties with a NULL <property name>
(rpr_context_properties)0,

};into rust code here is my sample:[rpr_context_info_RPR_CONTEXT_PRECOMPILED_BINARY_PATH as rpr_context_properties,"./hipbin/\0".as_ptr() as rpr_context_properties,0 as rpr_context_properties].as_ptr() as *const rpr_context_properties;`

WannaBeKratos commented 1 year ago

I found out the issue, but I'm getting some weird values [0, 0, 0, 1065353216, 0, 0, 0, 1065353216, 0, 0, 0, 1065353216,