diff options
author | Rhys Kidd <[email protected]> | 2018-08-10 12:44:37 -0400 |
---|---|---|
committer | Rhys Kidd <[email protected]> | 2018-08-29 08:59:27 -0400 |
commit | f7d0c112cba7b35cf19ec39fcfe54132043ef99a (patch) | |
tree | 3f4c89a70733990eaf50e932902dd29dfd9d2632 | |
parent | 966a797e433120094e1e39693f1f17be8678d03e (diff) |
nv50/ir: silence partitionLoadStore() unused function warning
Move this now-unused function into the existing comment block, which was its only prior use.
../../../../../src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:2645:1: warning:
unused function 'partitionLoadStore' [-Wunused-function]
partitionLoadStore(uint8_t comp[2], uint8_t size[2], uint8_t mask)
Fixes: ("86e4440361 nouveau: codegen: Disable more old resource handling code")
Signed-off-by: Rhys Kidd <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index 2f9bcc1f34b..c6e69ff1230 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -2640,7 +2640,7 @@ Converter::getResourceCoords(std::vector<Value *> &coords, int r, int s) coords[0] = mkOp1v(OP_MOV, TYPE_U32, getScratch(4, FILE_ADDRESS), coords[0]); } -*/ + static inline int partitionLoadStore(uint8_t comp[2], uint8_t size[2], uint8_t mask) { @@ -2665,7 +2665,7 @@ partitionLoadStore(uint8_t comp[2], uint8_t size[2], uint8_t mask) } return n + 1; } - +*/ void Converter::getImageCoords(std::vector<Value *> &coords, int s) { |