From c5e5b3401c52f83bd885497cb30125e78a21d666 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 7 Mar 2013 10:51:25 -0500 Subject: gallium: PIPE_COMPUTE_CAP_IR_TARGET - allow drivers to specify a processor v2 This target string now contains four values instead of three. The old processor field (which was really being interpreted as arch) has been split into two fields: processor and arch. This allows drivers to pass a more a more detailed description of the hardware to compiler frontends. v2: - Adapt to libclc changes Reviewed-by: Francisco Jerez --- src/gallium/docs/source/screen.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index c1a3c0b1e73..4b01d77322e 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -236,10 +236,10 @@ PIPE_COMPUTE_CAP_* Compute-specific capabilities. They can be queried using pipe_screen::get_compute_param. -* ``PIPE_COMPUTE_CAP_IR_TARGET``: A description of the target as a target - triple specification of the form ``processor-manufacturer-os`` that will - be passed on to the compiler. This CAP is only relevant for drivers - that specify PIPE_SHADER_IR_LLVM for their preferred IR. +* ``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. + This CAP is only relevant for drivers that specify PIPE_SHADER_IR_LLVM for + their preferred IR. Value type: null-terminated string. * ``PIPE_COMPUTE_CAP_GRID_DIMENSION``: Number of supported dimensions for grid and block coordinates. Value type: ``uint64_t``. -- cgit v1.2.3