gallium: Add PIPE_SHADER_IR_NATIVE to enum pipe_shader_ir
Drivers can return this value for PIPE_COMPUTE_CAP_IR_TARGET if they want clover to give them native object code. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
@@ -320,8 +320,8 @@ pipe_screen::get_compute_param.
|
|||||||
|
|
||||||
* ``PIPE_COMPUTE_CAP_IR_TARGET``: A description of the target of the form
|
* ``PIPE_COMPUTE_CAP_IR_TARGET``: A description of the target of the form
|
||||||
``processor-arch-manufacturer-os`` that will be passed on to the compiler.
|
``processor-arch-manufacturer-os`` that will be passed on to the compiler.
|
||||||
This CAP is only relevant for drivers that specify PIPE_SHADER_IR_LLVM for
|
This CAP is only relevant for drivers that specify PIPE_SHADER_IR_LLVM
|
||||||
their preferred IR.
|
or PIPE_SHADER_IR_NATIVE for their preferred IR.
|
||||||
Value type: null-terminated string.
|
Value type: null-terminated string.
|
||||||
* ``PIPE_COMPUTE_CAP_GRID_DIMENSION``: Number of supported dimensions
|
* ``PIPE_COMPUTE_CAP_GRID_DIMENSION``: Number of supported dimensions
|
||||||
for grid and block coordinates. Value type: ``uint64_t``.
|
for grid and block coordinates. Value type: ``uint64_t``.
|
||||||
|
@@ -638,7 +638,8 @@ enum pipe_shader_cap
|
|||||||
enum pipe_shader_ir
|
enum pipe_shader_ir
|
||||||
{
|
{
|
||||||
PIPE_SHADER_IR_TGSI,
|
PIPE_SHADER_IR_TGSI,
|
||||||
PIPE_SHADER_IR_LLVM
|
PIPE_SHADER_IR_LLVM,
|
||||||
|
PIPE_SHADER_IR_NATIVE
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user