summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-09-25 09:14:53 -0400
committerTom Stellard <[email protected]>2014-10-16 19:42:22 -0400
commit8b7cc90cefef495887d7e83715b81a5d81ea7fb7 (patch)
tree6a4aaee5c7d3078fbb17143fa2775b22aefc8d9b /src/gallium/include
parentdc39b32c9bc967a26f745e7ebebcbc4c44c83f20 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 93156b952bd..d9b1547b1e2 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -638,7 +638,8 @@ enum pipe_shader_cap
enum pipe_shader_ir
{
PIPE_SHADER_IR_TGSI,
- PIPE_SHADER_IR_LLVM
+ PIPE_SHADER_IR_LLVM,
+ PIPE_SHADER_IR_NATIVE
};
/**