diff options
author | Samuel Pitoiset <[email protected]> | 2016-07-05 14:01:34 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-07-08 19:12:23 +0200 |
commit | a0bf1768c7131a5d9a23c5177e7b9d7a0267ef6c (patch) | |
tree | 50d5b76af427f6a4b6d03e974f23ff576ffa6402 /src/gallium/drivers | |
parent | ed3a284382b194292460a99c0dfe7fd3feccca40 (diff) |
nvc0/ir: remove unused resource info loading helpers
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 24 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h | 4 |
2 files changed, 0 insertions, 28 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp index 561ff628bc1..973577353ce 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp @@ -1451,24 +1451,6 @@ NVC0LoweringPass::loadResLength32(Value *ptr, uint32_t off, uint16_t base) } inline Value * -NVC0LoweringPass::loadSuInfo64(Value *ptr, uint32_t off) -{ - return loadResInfo64(ptr, off, prog->driver->io.suInfoBase); -} - -inline Value * -NVC0LoweringPass::loadSuLength32(Value *ptr, uint32_t off) -{ - return loadResLength32(ptr, off, prog->driver->io.suInfoBase); -} - -inline Value * -NVC0LoweringPass::loadBufInfo32(Value *ptr, uint32_t off) -{ - return loadResInfo32(ptr, off, prog->driver->io.bufInfoBase); -} - -inline Value * NVC0LoweringPass::loadBufInfo64(Value *ptr, uint32_t off) { return loadResInfo64(ptr, off, prog->driver->io.bufInfoBase); @@ -1481,12 +1463,6 @@ NVC0LoweringPass::loadBufLength32(Value *ptr, uint32_t off) } inline Value * -NVC0LoweringPass::loadUboInfo32(Value *ptr, uint32_t off) -{ - return loadResInfo32(ptr, off, prog->driver->io.uboInfoBase); -} - -inline Value * NVC0LoweringPass::loadUboInfo64(Value *ptr, uint32_t off) { return loadResInfo64(ptr, off, prog->driver->io.uboInfoBase); diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h index 5ab27ce7b51..4d7d8cc8a8a 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h @@ -127,12 +127,8 @@ private: Value *loadResInfo64(Value *ptr, uint32_t off, uint16_t base); Value *loadResLength32(Value *ptr, uint32_t off, uint16_t base); Value *loadSuInfo32(Value *ptr, int slot, uint32_t off); - Value *loadSuInfo64(Value *ptr, uint32_t off); - Value *loadSuLength32(Value *ptr, uint32_t off); - Value *loadBufInfo32(Value *ptr, uint32_t off); Value *loadBufInfo64(Value *ptr, uint32_t off); Value *loadBufLength32(Value *ptr, uint32_t off); - Value *loadUboInfo32(Value *ptr, uint32_t off); Value *loadUboInfo64(Value *ptr, uint32_t off); Value *loadUboLength32(Value *ptr, uint32_t off); Value *loadMsInfo32(Value *ptr, uint32_t off); |