summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_llvm.c
diff options
context:
space:
mode:
authorVincent Lejeune <[email protected]>2013-04-28 00:01:00 +0200
committerVincent Lejeune <[email protected]>2013-04-30 02:17:18 +0200
commit51e9bfdc48b6d73aa0fa0a8f7911863b5968bdb9 (patch)
tree6b2a35d2688ba225ae0551dbdb5e574dd0e02b17 /src/gallium/drivers/r600/r600_llvm.c
parenta79786af642dc492d624143a023bee352a597dc2 (diff)
r600g/llvm: get use_kill from compiler shader
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
-rw-r--r--src/gallium/drivers/r600/r600_llvm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index 2050be26df8..83d73405f83 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -556,6 +556,7 @@ unsigned r600_llvm_compile(
unsigned * inst_byte_count,
enum radeon_family family,
struct r600_bytecode *bc,
+ boolean *use_kill,
unsigned dump)
{
unsigned r;
@@ -566,6 +567,7 @@ unsigned r600_llvm_compile(
*inst_byte_count = binary.code_size;
bc->ngpr = util_le32_to_cpu(*(uint32_t*)binary.config);
bc->nstack = util_le32_to_cpu(*(uint32_t*)(binary.config + 4));
+ *use_kill = util_le32_to_cpu(*(uint32_t*)(binary.config + 8));
return r;
}