diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-03-07 10:51:25 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-04-05 18:43:34 -0400 |
commit | c5e5b3401c52f83bd885497cb30125e78a21d666 (patch) | |
tree | 895fceb4d43d1d6d8e9427907bc081007a86d9fa /src/gallium/docs | |
parent | 1a868acbecdd7b7cb71342a75a36ad9a80d8eb17 (diff) | |
download | external_mesa3d-c5e5b3401c52f83bd885497cb30125e78a21d666.zip external_mesa3d-c5e5b3401c52f83bd885497cb30125e78a21d666.tar.gz external_mesa3d-c5e5b3401c52f83bd885497cb30125e78a21d666.tar.bz2 |
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 <currojerez@riseup.net>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index c1a3c0b..4b01d77 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``. |