rpr_status

Usage

Return codes from any AMD Radeon™ ProRender function.

Possible Values

Name

Value

Brief Explanation

RPR_SUCCESS

0

Success, no error.

RPR_ERROR_COMPUTE_API_NOT_SUPPORTED

-1

Bad OpenCL™ version.

RPR_ERROR_OUT_OF_SYSTEM_MEMORY

-2

Out of system memory.

RPR_ERROR_OUT_OF_VIDEO_MEMORY

-3

Out of video memory.

RPR_ERROR_INVALID_LIGHTPATH_EXPR

-5

Bad lightpath expression for AOV.

RPR_ERROR_INVALID_IMAGE

-6

Bad texture image.

RPR_ERROR_INVALID_AA_METHOD

-7

Incorrect AA filter.

RPR_ERROR_UNSUPPORTED_IMAGE_FORMAT

-8

Image texture type not supported.

RPR_ERROR_INVALID_GL_TEXTURE

-9

Bad OpenGL texture.

RPR_ERROR_INVALID_CL_IMAGE

-10

Bad OpenCL image.

RPR_ERROR_INVALID_OBJECT

-11

Invalid rpr_* object.

RPR_ERROR_INVALID_PARAMETER

-12

Bad parameter to rprSetParameter*().

RPR_ERROR_INVALID_TAG

-13

Bad tag set.

RPR_ERROR_INVALID_LIGHT

-14

Bad rpr_light object.

RPR_ERROR_INVALID_CONTEXT

-15

Bad rpr_context object.

RPR_ERROR_UNIMPLEMENTED

-16

API item has not been implemented.

RPR_ERROR_INVALID_API_VERSION

-17

Bad API version.

RPR_ERROR_INTERNAL_ERROR

-18

RPR error.

RPR_ERROR_IO_ERROR

-19

RPR error with input/output.

RPR_ERROR_UNSUPPORTED_SHADER_PARAMETER_TYPE

-20

Bad shader parameter.

RPR_ERROR_MATERIAL_STACK_OVERFLOW

-21

Too many nodes in material system.

RPR_ERROR_INVALID_PARAMETER_TYPE

-22

Bad type provided to rprSetParameter*(). Usually this means setting float parameter as uint for example.

RPR_ERROR_UNSUPPORTED

-23

Unsupported item.

RPR_ERROR_OPENCL_OUT_OF_HOST_MEMORY

-24

Out of OpenCL memory.

RPR_ERROR_OPENGL

-25

Unspecified OpenGL error.

RPR_ERROR_OPENCL

-26

Unspecified OpenCL error.

RPR_ERROR_NULLPTR

-27

Invalid null pointer provided to RPR call.

RPR_ERROR_NODETYPE

-28

Bad node type.

RPR_ERROR_ABORTED

-29

RPR call was aborted.