diff options
author | Timothy Arceri <[email protected]> | 2018-02-09 12:02:27 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-10 10:59:10 +1100 |
commit | b5e23887fe86478a63b3b602de32909a641f268f (patch) | |
tree | 6de0e786f45ff49113afc63dac6e10af91829c6b /src/gallium | |
parent | 73f1d6f0c1030d90bf022333def69b4324c0e4ae (diff) |
radeonsi: stop returning PIPE_SHADER_IR_NATIVE for PIPE_SHADER_CAP_PREFERRED_IR
Clover now checks PIPE_SHADER_CAP_SUPPORTED_IRS for native support instead.
This change indirectly enables NIR support for compute shaders
on radeonsi.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 9a205c07f8e..14d7ca5ba6a 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -389,9 +389,6 @@ static int si_get_shader_param(struct pipe_screen* pscreen, break; case PIPE_SHADER_COMPUTE: switch (param) { - case PIPE_SHADER_CAP_PREFERRED_IR: - return PIPE_SHADER_IR_NATIVE; - case PIPE_SHADER_CAP_SUPPORTED_IRS: { int ir = 1 << PIPE_SHADER_IR_NATIVE; |